Can't create Dynamic Web project using WTP [message #134824] |
Thu, 25 August 2005 08:29 |
Eclipse User |
|
|
|
Originally posted by: yinjun0510.gmail.com
I am using Eclipse 3.1 and WTP 0.7 under WinXP SP2
I have installed emf-sdo-xsd-SDK-2.1.0.zip,GEF-SDK-3.1.zip and
JEM-SDK-1.1.zip
I have installed Tomcat 4.1 and it works.
But when I try to create a Dynamic Web project,after I enter the name
for this Dynamic Web project,an error msg came out:"The selected version
is not supported by the server."
Why?
|
|
|
Re: Can't create Dynamic Web project using WTP [message #134855 is a reply to message #134824] |
Thu, 25 August 2005 13:11 |
Eclipse User |
|
|
|
Originally posted by: hiwibl5.iitb.fhg.de
Jun Yin schrieb:
> I am using Eclipse 3.1 and WTP 0.7 under WinXP SP2
> I have installed emf-sdo-xsd-SDK-2.1.0.zip,GEF-SDK-3.1.zip and
> JEM-SDK-1.1.zip
> I have installed Tomcat 4.1 and it works.
> But when I try to create a Dynamic Web project,after I enter the name
> for this Dynamic Web project,an error msg came out:"The selected version
> is not supported by the server."
> Why?
Hi!
Click on "Show Advanced" and change the "Module version" until that
error message vanishes.
I do not use Tomcat, but my server shows the same message until I've
changed the module version.
I'm not sure, but I think, the module version represents the servlet or
JSP version, that is used...
Greetings
Manu
|
|
|
Re: Can't create Dynamic Web project using WTP [message #135250 is a reply to message #134855] |
Fri, 26 August 2005 01:33 |
Eclipse User |
|
|
|
Originally posted by: yinjun0510.gmail.com
Thank you!
I installed JBoss4.0.2,the error went away!
When I typed something in and select "Run on server",then I tried to
select Tomcat as the server, another error msg showed up: "Tomcat
version 4.1 only supports J2EE 1.2 and 1.3 Web modules". My JDK version
is 1.4.2, I think that is why I can't create the project before Jboss
installed.
Or should I use JDK 1.5 instead to avoid such problems?
BTW: lomboz-3.1 doesn't work in my Eclipse, also because of the JDK
version? ........
|
|
|
Re: Can't create Dynamic Web project using WTP [message #135299 is a reply to message #135250] |
Fri, 26 August 2005 12:26 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
The J2EE version is something separate from the JDK version. When
creating a Dynamic Web Project, be sure to display the Advanced section
so you can see the Module Version, which is the same as the Servlet spec
version. The following table maps the J2EE version to the Module Version:
J2EE 1.2 = Module Version 2.2
J2EE 1.3 = Module Version 2.3 (also supports 2.2)
J2EE 1.4 = Module Version 2.4 (also supports 2.3 and 2.2)
The Dynamic Web Modules default to Module Version 2.4, which is a
version that Tomcat 4.1 does not support. You would need Tomcat 5.0.x
or later for such a web module. You need to switch the Module Version
to 2.3 or 2.2 for it to run on Tomcat 4.1.
Cheers,
Larry
Jun Yin wrote:
> Thank you!
> I installed JBoss4.0.2,the error went away!
> When I typed something in and select "Run on server",then I tried to
> select Tomcat as the server, another error msg showed up: "Tomcat
> version 4.1 only supports J2EE 1.2 and 1.3 Web modules". My JDK version
> is 1.4.2, I think that is why I can't create the project before Jboss
> installed.
> Or should I use JDK 1.5 instead to avoid such problems?
>
> BTW: lomboz-3.1 doesn't work in my Eclipse, also because of the JDK
> version? ........
|
|
|
Powered by
FUDForum. Page generated in 0.03334 seconds