每当我从Netbeans运行我的项目时,我都会收到此错误:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 0 seconds)
这是日志输出:
Launching GlassFish on Felix platform
Oct 30, 2015 3:54:15 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Oct 30, 2015 3:54:15 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Oct 30, 2015 3:54:15 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@2b936ab9 in service registry.
Found populator: com.sun.enterprise.v3.server.GFDomainXml
#!## LogManagerService.postConstruct : rootFolder=C: \Program Files\glassfish-4.1\glassfish
#!## LogManagerService.postConstruct : templateDir=C: \Program Files\glassfish-4.1\glassfish\lib\templates
#!## LogManagerService.postConstruct : src=C: \Program Files\glassfish-4.1\glassfish\lib\templates\logging.properties
#!## LogManagerService.postConstruct : dest=C: \Users\Jimmyzz\personal_domain1\config\logging.properties
Info: Running GlassFish Version: GlassFish Server Open Source Edition 4.1 (build 13)
Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Info: Authorization Service has successfully initialized.
Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Info: Grizzly Framework 2.3.15 started in: 58ms - bound to [/0.0.0.0:8080]
Info: Grizzly Framework 2.3.15 started in: 5ms - bound to [/0.0.0.0:8181]
Info: Grizzly Framework 2.3.15 started in: 7ms - bound to [/0.0.0.0:4848]
Info: Grizzly Framework 2.3.15 started in: 5ms - bound to [/0.0.0.0:3700]
Info: GlassFish Server Open Source Edition 4.1 (13) startup time : Felix (1,408ms), startup services(571ms), total(1,979ms)
Info: Grizzly Framework 2.3.15 started in: Ems - bound to [/0.0.0.0:7676]
Info: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@55f8669d as 0511 service registration: org.apache.felix.framework.ServiceRegistrationImpl@769d513.
Info: JMXStartupService has started JMXConnector on 3MXService URL service:jmx:rmi://100.75.255.36:8686/jndi/rmi://100.75.255.36:8686/jmxrmi
Info: HV000001: Hibernate Validator 5.0.0.Fina1
Info: Grizzly Framework 2.3.15 started in: 8ms - bound to [/0.0.0.0:8181]
Info: Grizzly Framework 2.3.15 started in: 9ms - bound to [/0.0.0.0:8080]I
答案 0 :(得分:0)
对于有类似问题的人,我通过重命名我的项目文件夹来解决问题, 没有空格或符号(例如,代替'Netbeans project& beans'到NetbeansProjectNBeans)。