I'm trying to create a dynamic web project with JSF 2.0 configuration in Eclipse Java EE Juno SR1. I have installed WTP tools from http://download.eclipse.org/releases/juno/.
I use Java 1.6
I face the following problems :
1. I don't have JSF facets in my eclipse
2. Also, even after installing WTP tools, I don't get a web page editor.
3 . On a related note, I'm trying to use JBoss AS 7.1 Application server with eclipse, but I am not able to find it's adapter either.
I use Eclipse Juno with Java 1.6
Related
So I am watching a tutorial about how to configure JSF in eclipse. I understand that you click file -> new -> Dynamic Web Project.
And then it gives you a few options. The Target Runtime will be (for me) Apache Tomcat version 8, and dynamic web module version will be 3.0. And in the configuration drop-down you are supposed to see Java Server Faces 2.0v or 2.1v, but I do not have that option.
Does anyone know why?
That can happen if you started with plain "Eclipse IDE for Java Developers" instead of with "Eclipse IDE for Java EE Developers" and then manually added some plugins on it. Throw away your current Eclipse install and restart clean with "Eclipse IDE for Java EE Developers".
If you dont see the JSF options, then its not part of your original eclipse version. In that case, you need to download the extra tools that you want. Go to Help -> Install New Software and then type the following URL in the box http://download.jboss.org/jbosstools/updates/stable/kepler This URL is for Kepler version of Eclipse. You need to change it according to your eclipse version. jBossTools have JSF features. Restart the eclipse once the s/w is installed successfully.
I have recently moved to JDK 8 and want to start developing applications and have a server, wildfly. In NetBeans you just have to import the WildFly plugin, but in eclipse you have to import all JBoss Tools plugins. You need to install ~ 450MB (JBoss Tools) only for use WildFly 8? WildFly 8 has depends on all these plugins?
Greetings.
You don't need to install all of JBoss Tools. There is a feature category called Abridged JBoss Tools. which contains the absolute minimum feature JBossAS Tools, which is basically a WTP adapter for JBoss AS/WildFly.
Note that there is some useful stuff in the Abridged Tools, like extended JSF and CDI support for Eclipse. But for stuff like Seam or Portlets which you probably don't use, it's safe to leave the corresponding features uninstalled.
On Eclipse Luna, I did this:
From main menu, select Help -> Eclipse Marketplace...
Type JBoss Tools in the search box
Select the JBoss Tools plugin and click Install
Give it a moment to figure out all the features in the plugin
Deselect all features
Find the feature named JBossAS Tools and select it
Next, Next, Finish (actually it's a bit more contrived than
that but you'll manage)
On Eclipse Mars this is even simpler, as the JBoss Server Adapter is installed by default.
Failed while installing Dynamic Web Module 3.0.
java.lang.String cannot be cast to oracle.eclipse.tools.weblogic.WebLogicServerInstall
Install Eclipse Java EE Developer tools, Eclipse Java Web Developer tools, Java Server Faces tools, Eclipse faceted Project Framework, Eclipse faceted Project Framework JDT Enablement. You can install all these from Eclipse itself. Go to Help and install new software. It wont give the error again.
The error in eclipse will go away if you reinstall the Weblogic Tools from the Oracle Enterprise Pack for Eclipse (OEPE) update site.
I downloaded the Eclipse Galileo and Juno Eclipse (Eclipse IDE for Java EE Developers) but I can not run my JSF2 project. I've tried changing the Project Facets/JavaServer Faces for 2.0 but doesn´t allow the change. What Eclipse IDE support JSF 2.0?
Thanks!
I am using Eclipse indigo. Its working fine for me.
For JSF 2.0, upgrade your Eclipse to version Helios (v3.6) onward, it has full support of Java EE 6 support, including JSF 2.0.
See: Does the Eclipse IDE support JSF 2.0?
You can Google this answer relatively quickly.
I am trying to create a JSF 2.1 Project in Eclipse Java EE IDE.
In one screen, Eclipse asks for JSF Implementation Libary- here I have defined JSF 2.1.10 as a JSF Implementation Library- with the JAR files
jsf-api-2.1.10.jar
and
jsf-impl-2.1.10.jar.
However after adding the above implementation library, I get the following error message in the same screen of Eclipse IDE--
Required class javax.faces.FactoryFinder does not exist in selected libraries.
I even added Apache MyFaces Core 2.1.8 and Mojarra 2.1.10, but the above error message refuses to go away... What am I missing here?
How do I configure and set up a JSF 2.1 project correctly in Eclipse Java EE IDE?
Thanks...
This is my solution:
*Eclipse Juno
You should click JaveServerfaces tag of your eclipse Project Facet when creating your project.See this