JBoss Community

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

created by Robin Hughes in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community