有没有用NetBeans6.x用过JavaEE6项目事例的,兄弟我用Netbeans创建"企业应用程序",并包括"EJB模块","Web模块",还有"客户端模块",在模块中写入相应的JAVA文件,但是部署的时候就会出现问题,但是如果不多包括"客户端模块",则可以正确部署,提示找不到gf-client.jar这个jar包,但是安装目录下是有的,错误信息如下,希望高手给与指点
信息: enterprise.deployment.appclient.jws.stopped
信息: Portable JNDI names for EJB Test : [java:global/EjbTest/EjbTest-ejb/Test!google.com.TestLocal, java:global/EjbTest/EjbTest-ejb/Test!google.com.TestRemote]
信息: Glassfish-specific (Non-portable) JNDI names for EJB Test : [google.com.TestRemote, google.com.TestRemote#google.com.TestRemote]
信息: Loading application EjbTest#EjbTest-war.war at EjbTest-war
严重: enterprise.deployment.appclient.jws.errStartSystemAdapter
java.io.FileNotFoundException: C:\Program%20Files\glassfish-v3-b70\glassfish\modules\gf-client.jar (系统找不到指定的路径。)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:133)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at org.glassfish.appclient.server.core.jws.JWSAdapterManager.getGFClientModuleClassPath(JWSAdapterManager.java:555)
at org.glassfish.appclient.server.core.jws.JWSAdapterManager.initStaticContent(JWSAdapterManager.java:230)
at org.glassfish.appclient.server.core.jws.JWSAdapterManager.startSystemContentAdapter(JWSAdapterManager.java:179)
at org.glassfish.appclient.server.core.jws.JWSAdapterManager.addAppAdapter(JWSAdapterManager.java:412)
at org.glassfish.appclient.server.core.jws.JWSAdapterManager.addContentForAppClient(JWSAdapterManager.java:353)
at org.glassfish.appclient.server.core.jws.JavaWebStartInfo.addClientContentToHTTPAdapters(JavaWebStartInfo.java:430)
at org.glassfish.appclient.server.core.jws.JavaWebStartInfo.startJWSServices(JavaWebStartInfo.java:316)
at org.glassfish.appclient.server.core.jws.JavaWebStartInfo.access$100(JavaWebStartInfo.java:101)
at org.glassfish.appclient.server.core.jws.JavaWebStartInfo$1.run(JavaWebStartInfo.java:261)
at org.glassfish.appclient.server.core.jws.JavaWebStartState.transition(JavaWebStartState.java:84)
at org.glassfish.appclient.server.core.jws.JavaWebStartInfo.start(JavaWebStartInfo.java:257)
at org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:134)
at org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:126)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:231)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:231)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:323)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1159)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1218)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1207)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)