[jboss-user] [Beginner's Corner] - Re: NoClassDefFound from EJB accessing third-party jar located in EAR

Robin Hughes do-not-reply at jboss.com
Wed Apr 6 12:19:39 EDT 2011


Robin Hughes [http://community.jboss.org/people/rhinmass] created the discussion

"Re: NoClassDefFound from EJB accessing third-party jar located in EAR"

To view the discussion, visit: http://community.jboss.org/message/598265#598265

--------------------------------------------------------------
Thank you.  That was the problem.  

Adding defaultLibBundleDir to the maven-ear-plugin configuration did the trick.

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <version>2.5</version>
        <configuration>
*<defaultLibBundleDir>lib</defaultLibBundleDir>*
          <modules>
                  ...
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/598265#598265]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110406/df176538/attachment.html 


More information about the jboss-user mailing list