I am using Eclipse Kepler, and i have installed Spring IDE and STS but when i created Spring MVC Template project i have got errors, then i went to Maven Update options but i have got error. I don't know why. Please, help!
Errors:
Error during build of project [firstSpring]
Errors occurred during the build.
Errors running builder 'Faceted Project Validation Builder' on project 'firstSpring'.
Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
Errors running builder 'Validation' on project 'firstSpring'.
org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
An internal error occurred during: "J2EE Component Mapping Update".
org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
Found a solution atlast, the issue is caused by STS removing some of the facet dependancies, doing the below solved the issue for me in Eclipse Kepler SR2
Go to Install New Software work with update site "Kepler - http://download.eclipse.org/releases/kepler"
under Web, XML, Java EE and OSGi Enterprise Development" select the below items and proceed to update
Eclipse Faceted Project Framework
Eclipse Faceted Project Framework JDT Enablement
Eclipse Java EE Developer Tools
Maybe the WTP J2EE thing would have been enough, but I didn't take that route
You could have installed the WTP features into your Eclipse for Java
Developers installation. In general you can always add features to an
existing installation as opposed to re-installing or keeping multiple
installations around.
Related
In Intellij i'd like to use a plug-in similar to eclipse's wtp tool. My end goal is to build servlets within the IDE and and run it locally on my pc.
I've tried searching for the plugin in the prefereneces under plugins to no success. Here is an image of what my plugin options look like when im trying to create a new project, and notice how there is no web application plugin showing on the left column, how do i fix it ?
If you are using IntelliJ IDEA Community Edition, it does not support Java EE. However, IntelliJ IDEA Ultimate Edition does provide Java EE support.
https://www.jetbrains.com/idea/features/editions_comparison_matrix.html
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'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
I am looking for what plugins I need for Dynamic Web Project or Spring MVC development. The Eclipse installed my package manager of Arch Linux doesn't have that (as expected), and I don't want to download Eclipse EE if possible. I am sure I can accomplish the same result using the Eclipse I have now.
I believe Dynamic Web Project will suffice, how do I get it up
Also tried to install the Spring Toolkit but I keep getting dependencies errors (I suppose I should start with getting Dynamic Web Project up first ...)
Go download the Eclipse Java EE package.
Go into Help -> Eclipse Marketplace -> Search for Spring Source Tool Suite and install it.
This is all you need. Hope it helps.
I have followed the below link to install and configure JBOSS Tools in Eclipse Indigo to work on a JSF project
http://planet.jboss.org/post/jboss_tools_milestone_for_eclipse_3_7_m6_indigo
Steps i followed.
1.Installed Eclipse
2.Configured Proxy
3.Loaded the Urls as specified in above link
however many of the packages fails during installation and i cant see a JSF project in the new project list.
What could be wrong here?. Please help me with some pointers.
You're reading an outdated tutorial. Eclipse Indigo was already finalized a few weeks after that tutorial was written. Even more, it's already in SR1 stage. You can download it here. Finally, you can try to install the JBoss tools through the following URL:
http://download.jboss.org/jbosstools/updates/development/indigo/
It works at least for me.
Please note that you do not necessarily need JBoss Tools in order to be able to create a JSF project. It's already built in Eclipse for Java EE. Just create a new Dynamic Web Project. JSF is available as one of the project facets which is configureable in the Configuration option of the 1st step of the Dynamic Web Project wizard.
The JBoss Tools is just an additional plugin which eases JSF development with several additional (autocomplete) wizards.
See also:
JSF 2.0 tutorial with Eclipse and Glassfish - contains a lot of helpful screenshots