Shymon,
   I think your issue with the missing jar entry might have to do with how
Maven deploys the war. One of the comments in the blog post explains it in
quite a bit of detail (
https://www.blogger.com/comment.g?blogID=19648744&postID=6127277507107329490&pli=1)
. 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>

Cheers,

Alex Kotchnev

On Fri, Oct 3, 2008 at 5:04 PM, shymon <[EMAIL PROTECTED]> wrote:

>
>
>
> akochnev wrote:
> >
> > Shymon,
> >    I know you said you already resolved your issue. However, instead of
> > using a stock netbeans Web Application project, I would strongly
> recommend
> > using the NetBeans Maven support when starting a project; it really makes
> > the ramp up almost 0 . See my blog for details at
> >
> http://www.troymaxventures.com/2008/05/tapestry5-netbeans-quickstart.html.
> >
> > Cheers,
> > Alex Kotchnev
> >
>
> Thanks for your advice. I have read your blog article, and I created T5
> Application using Maven Project in NetBeans. Everything went ok, and I ran
> app without any trouble (deployed to Glassfish V2). But then I changed
> getCurrentTime() method of Index class to return String value and choose
> 'Run' to see the effects. And what a surprise:
>
> java.lang.RuntimeException: Exception loading module(s) from manifest
>
> jar:file:/P:/TapestryTest/FirstT5/target/FirstT5/WEB-INF/lib/FirstT5.jar!/META-INF/MANIFEST.MF:
> JAR entry META-INF/MANIFEST.MF not found in
> P:\TapestryTest\FirstT5\target\FirstT5\WEB-INF\lib\FirstT5.jar
>        at
>
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>         at
>
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>        at
>
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:75)
>        at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:76)
>         ...
>
> I have checked:
> META-INF/MANIFEST.MF is present in jar file in question....
> What am I missing?
>
> shymon
>
> --
> View this message in context:
> http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-exception-tp19757952p19805576.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