Problem building .war from eclipse [message #159988] |
Thu, 09 February 2006 16:56  |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
Using WTP 1.5M?, I'm having trouble building a usable .war file from my
dynamic web project. Working through the wizard, I find the package and
the location I want to export to, and click "finish", then the dialog
box flashes, and comes back to the same spot, with the "finish" button
like it expects to be clicked again, and there is now a .war file there.
However, when I try to deploy it in Tomcat 5.5.12, I get an "invalid zip
file" (or words to that effect) in the logs when I start tomcat. I also
tried unzipping it with a standard pkzip utility, and it also says the
..zip file has errors. The same utility has no problem unzipping a .jar
file (from a different project) exported to the same place as the .war.
Any hints?
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
|
|
|
|
|
Re: Problem building .war from eclipse [message #163101 is a reply to message #162113] |
Tue, 07 March 2006 11:19  |
Eclipse User |
|
|
|
Originally posted by: eb.born-digital.co.uk
aalmajano wrote:
> +1
>
>
> I have the same problem. When I click finish I stay in the same point. Finish button doesn't generate a war file.
>
> But I have seen that this only happens with one of the projects, the rest of the projects works great.
>
> I am trying to see what's the difference between this project and the others, but I don't see anything.
>
> Any idea?
I had exactly the same problem this morning, it seems like the packaging
just hangs. But I restarted Eclipse and it worked. It had been
working fine last night.
(Now there is another problem, it doesn't seem to want to put the jars
in WEB-INF/lib, seems like the whole virtual library path thing is still
quite buggy)
This is with WST 1.0.1
|
|
|
Powered by
FUDForum. Page generated in 0.04420 seconds