Dynamic web procject creation error with eclipse? - java

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.

Related

In eclipse JUNO 4.2.2, option for creating JSP is not found

I am using eclipse 4.2.2 juno, it is Java J2EE IDE, I have also installed the java web developer tools but still I am not able to navigate JSP file.
please refer below
please suggest on this issue
Please check Eclipse Java Web Developer Tools. Shown in the picture below.
If it is not there, you should install it by following steps:
Help-->Install New Software
Select Juno - http://download.eclipse.org/releases/juno
Select Web, XML, Java EE and OSGi Enterprise Development --> Eclipse Java Web Developer Tools
Thank you :)

JSF facets not available in Eclipse

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.

Creating Spring MVC app

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.

Open new dynamic web project in java

I'm writing server-application in java which needs to run on ec2 of amazon. I read somewhere i need to open dynamic web project, but i don't have this option in eclipse. my eclipse version is .
I tried to install through help -> install new software the package "Web Tools Platforms" from http://download.eclipse.org/webtools/repository/indigo
but it failed in the middle of the installation.
Somebody can help me with that?
thanx!!
You need the one labelled Eclipse for Java EE Developers that one lets you create web projects.
Also see this & this. It will help you..
Not all of them are required (I think), but after installing the components listed below I got the "Dynamic Web Project" template added to my Eclipse (Indigo). The list is:
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
You can install those packages by clicking on "Help" > "Install New Software", selecting the repository that corresponds to your Eclipse build (i.e http://download.eclipse.org/releases/indigo for Indigo). The packages are grouped under "Web, XML, Java EE and OSGi Enterprise Development".

Eclipse: How do I install Eclipse Web Developer Tools manually?

How do I install Eclipse Web Developer Tools using the dropin folder?
What do I need to download?
This is for Eclipse 3.6 Helios.
If you really do not want to use the Eclipse IDE for Java EE developers 'edition' which comes with web developer tools bundled you will find instructions on this page. You can download the necessary packages and the prerequisites from here.

Categories