NetBeans: Deploying on GlassFish Server 3.1 profile mode: false debug mode: false force redeploy: true Initial deploying app to /Volumes/svn/mm-src/trunk/apFarming/app/target/gfdeploy/com.mycroftmind.farming_app_ear_1.0-SNAPSHOT Completed initial distribution of app deploy?DEFAULT=/Volumes/svn/mm-src/trunk/apFarming/app/target/gfdeploy/com.mycroftmind.farming_app_ear_1.0-SNAPSHOT&name=com.mycroftmind.farming_app_ear_1.0-SNAPSHOT&force=true failed on GlassFish Server 3.1 Error occurred during deployment: Exception while deploying the app [com.mycroftmind.farming_app_ear_1.0-SNAPSHOT] : Expected to find an expanded directory for submodule lesprojekt-resource-adapter-1.0-SNAPSHOT.rar but found a JAR. If this is a directory deployment be sure to expand all submodules.. Please see server.log for more details. The module has not been deployed. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:187) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:167) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:123) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:208) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)