akochnev wrote:
> 
> Shymon,
>    I think your issue with the missing jar entry might have to do with how
> Maven deploys the war....
> In the meantime, try switching the archiveClasses  option to false (by
> default it's true).
> 
> <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-war-plugin</artifactId>
>                 <configuration>
>                     <archiveClasses>*false*</archiveClasses>
>                 </configuration>
>             </plugin>
> 

Ok, setting archiveClasses to false helped, but now I have very similiar
problem.
I created tapestry components library (jar file as maven project). Main app
depends 
on this library which is still under developement. When I change something
in library,
rebuild it, and try to run main app I get exception:

java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/P:/myapp/src/myapp/target/myapp/WEB-INF/lib/t5-nrs-components-1.0-SNAPSHOT.jar!/META-INF/MANIFEST.MF:
JAR entry META-INF/MANIFEST.MF not found in
P:\myapp\src\myapp\target\myapp\WEB-INF\lib\t5-nrs-components-1.0-SNAPSHOT.jar

then I have to restart tomcat to run app.

maven-jar-plugin doesn't have <archiveClasses> option right? 
How can I resolve this problem?

shymon
-- 
View this message in context: 
http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p20178222.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to