facebook

[Closed] No web.xml in exported war file

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #256217 Reply

    slue
    Member

    hello

    I have installed eclipse 3.2 and newest myeclipse. I’ve created web project and added spring, hibernate, jsf capabilities and made some work. When I wanted to deploy this (jboss 4.0.4) I had an error – no WEB-INF/web.xml file found. I manually exported my project to war file and then opened it in winzip – there was not web.xml at all. All in my war file were: jsp’s and WEB-INF/lib with libraries!

    Anyone can help me?
    Best regards, Peter

    PS. I’m using a free version of myeclipse.

    #256254

    Riyad Kalla
    Member

    Peter,
    What kind of project is this? If you navigate to the webRoot folder and then the web-inf folder in MyEclipse do you see the web.xml file there?

    Also there is no free version of MyEclipse, you are probably using the trial.

    #256306

    slue
    Member

    Yes – it’s trial version of course.

    It’s web project and there is everything ok in project tree (web.xml file is in WEB-INF dir) but the problem is that there is no web.xml in exported (or deployed) war file. 🙁 Actually there are no xml’s in that file – there are only my jsp’s and WEB-INF/lib dir with llibraries – that’s all. (I created project like in “Web development” tutorial).

    #256333

    Riyad Kalla
    Member

    Check your log file for exceptions that may be occuring during deployment (<Workspace dir>\.metadata\.log)

    #256567

    slue
    Member

    after upgrade to newest myeclipse problem dissapeared, so thanks a lot for help

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: [Closed] No web.xml in exported war file

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