facebook

Resin-2.1.1x: unknown element `version’ in web-app [closed]

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #231150 Reply

    Ansorg
    Member

    I created a web project in MyEclipse and it works well when deployed on a Tomcat server. But the production environment still runs with some Resin-2.1.x – so the web app has to work there too.

    So I set up resin 2 in “MyEclipse Application Servers” and deploy and start but I get an error:

    500 Servlet Exception

    C:\MYAPPS\_temp\resin-2.1.16\webapps\bib_jsp_dev\WEB-INF\web.xml:4: unknown
    element `version’ in web-app

    Resin 2.1.16 (built Tue Feb 15 11:12:27 PST 2005)

    how to get this to work with resin 2?

    Out of curiosity I also set up a resin-3 abb server and tried: it kind of works but behaves dirrerently than on tomcat, I get missing paths in struts-tiles tags … 🙁

    #231169 Reply

    Riyad Kalla
    Member

    Resin 2 doesn’t support J2EE 1.4 and I’m willing to bet when you created the new web project you used the default value of J2EE 1.4 which creates an web.xml file that uses the Web 2.4 spec schema instead of the Web 2.3 spec DTD, and Resin doesn’t understand it.

    Try and create a new Web Project, selected J2EE 1.3, and then use that web.xml shell for your project. You will also need to switch to your navigator view, and edit your .mymetadata file and change the j2ee version from 1.4 to 1.3.

    #231185 Reply

    Ansorg
    Member

    you were right,

    thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Resin-2.1.1x: unknown element `version’ in web-app [closed]

You must be logged in to post in the forum log in