How can I install Web Dynamic Module 2.2, 2.3, 2.4 or 2.5?
The version I have installed is 3.0.
I am trying to add Axis2 to my java project (in project Facets) and I am getting error that
Web Dynamic Module 2.2, 2.3, 2.4 or 2.5 is required.
I can't find any instructions on how to install this.
Thanks
UPDATE
Never mind, there is little dropdown next to Dynamic Web Module 3.0 in Project Facets that allows me to change version to different one...
click right click on project -> properties -> project facets -> click on link then change dynamic web module part as your requirement.
Related
Prior to the actual version of Vaadin (7.3.9) it was possible to create and run Vaadin 7 projects in a fancy way just using the RunJettyRun -> https://code.google.com/p/run-jetty-run/ plugin.
Now that Vaadin has migrated its configuration from web.xml to annotations (Java Servlet API 3.0), I noticed that if I deploy a Vaadin 7 project created with the vaadin 7 eclipse plugin New Vaadin 7 Project wizard (the one which uses Ivy as the dependency manager and build automation tool, below a screenshot of the project structure):
When I select Debug as -> Run Jetty and run the project, I get a 404 Not Found either for the http://localhost:8080 or for the http://localhost:8080/project-name URLs.
I can use Tomcat, but sometimes the deployment gets really really slow, Tomcat hangs and every time I deploy a new project in Tomcat I need to restart it before the new project can be ran on the server. With Jetty local deployment is simpler and faster IMHO.
I can also use Jetty together with Maven, but I need to work with Ivy, i.e. create Vaadin projects through the plugin's wizard.
How can I still use the Jetty speed when I develop a Vaadin 7 application now?
Create a new Vaadin 7 Project with Servlet API 3.0 using the wizard
Resolve dependencies and compile everything
Select Run as/Debug as -> Run/Debug Configurations
Select Jetty Webapp -> New launch configuration
Select a Jetty Version: -> 8.x or newer (required for Servlet API 3.0)
Hit Run/Debug
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
Is it possible to implement axis2 in an JSF 2.0 project ?? it seems I cannot do that because it pops up an error saying : javaserver faces 2.0 requires dynamic web module 2.5, and axis2 requires dynamic module 2.2 or 2.3 does anyone have any solution please ??
I just tried this on MyEclipse 10.7.1 and had no problem. I just added JSF capabilities to the web project (right click on the project and go to MyEclipse->Add JSF Capabilities, selecting 2.0. Then I set the Axis2 runtime in the preferences (I have an old Axis2 1.5.4 runtime). Then I went to the preferences page you showed, for the project, and added Axis2. I got no errors. For the Axis2 runtime preferences page, you need to have the WTP Extras enabled (Window->Preferences->General->Capabilities->Advanced then open MyEclipse Standard Tools and select WTP Extras before clicking OK).
I'm not sure if the release of MyEclipse is significant but, if you're not on the latest (10.7.1) it would probably be a good idea to update your installation first.
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
I'm stepping through this tutorial:
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
I'm trying to select the axis2 Web Service facet (step 6) but I'm getting this error message in eclipse:
"Axis2 Web Services Core 1.1 requires Dynamic Web Module with version matching expression "2.2,2.3,2.4,2.5"
Update: I had downloaded and installed axis2 1.5.4 and then in eclipse I went into "windows->preferences->web services->axis2 preferences". Under the "axis2 runtime" tab I specified the axis2 location. The message "Axis2 runtime loaded successfully" appeared.
I don't know why it says "Axis2 Web Services Core 1.1". Does eclipse wtp come bundled with axis2 1.1 or is there a separate version # for the axis core from the overall axis version #?
Change the Dynamic web module version to lower.
I used java 1.5 and
Dynamic web module version-3.0 So its raised an error. Then I changed the version 2.5. Now its not showing any error
#Yasin - you were right, it was merely a mater of changing the Dynamic web module to a previous version. I wasn't aware that the earlier versions had also been installed.
I'd give you credit for the answer, but since you just left a comment I just up-voted your comment.
when I switched it to a lower version. It says
cannot change version of project facet Dynamic Web Module to 2.5
Actually you should select project web module version to 2.5 or lower during the initial creation of the project. If you do it later, it won't accept it and cause an error.