Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Can't create Dynamic Web project using WTP
Can't create Dynamic Web project using WTP [message #134824] Thu, 25 August 2005 08:29 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
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? ........
Previous Topic:Myfaces tags do not work under WTP
Next Topic:Do we need a WTP 0.7.1 Maintenance Release?
Goto Forum:
  


Current Time: Fri Dec 27 04:20:19 GMT 2024

Powered by FUDForum. Page generated in 0.03334 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top