![](/img/trans.png)
[英]After Installing NetBeans 8.0.2 with GlassFish 4.1 Cannot Connect to sample Database
[英]Netbeans 8.0.2 + Glassfish server 4.1
每当我从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
对于任何有类似问题的人,我都可以通过重命名我的项目文件夹来解决,而没有空格或符号(例如,将“ Netbeans project&beans”替换为NetbeansProjectNBeans)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.