NutzCN Logo
问答 nutz运行错误,好郁闷中
发布于 3105天前 作者 汉歌 3735 次浏览 复制 上一个帖子 下一个帖子
标签:
cd E:\hange\java\Rk_Cms; "JAVA_HOME=D:\\Program Files\\Java\\jdk1.8.0_60" cmd /c "\"\"D:\\Program Files\\NetBeans 8.0.2\\java\\maven\\bin\\mvn.bat\" -Dmaven.ext.class.path=\"D:\\Program Files\\NetBeans 8.0.2\\java\\maven-nblib\\netbeans-eventspy.jar\" jetty:run\""
Scanning for projects...
                                                                        
------------------------------------------------------------------------
Building rk_cms 1.0-SNAPSHOT
------------------------------------------------------------------------

>>> maven-jetty-plugin:6.1.26:run (default-cli) @ rk_cms >>>
The POM for org.apache.poi:poi:jar:3.10.1-20140818 is missing, no dependency information available
The POM for org.apache.poi:poi-ooxml:jar:3.10.1-20140818 is missing, no dependency information available
The POM for org.apache.poi:poi-ooxml-schemas:jar:3.10.1-20140818 is missing, no dependency information available
The POM for xmlbeans:xmlbeans:jar:2.6.0 is missing, no dependency information available
The POM for javax.servlet:servlet-api:jar:3.0.20100224 is missing, no dependency information available
The POM for oracle:ojdbc14:jar:ojdbc14 is missing, no dependency information available

--- maven-resources-plugin:2.6:resources (default-resources) @ rk_cms ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 83 resources

--- maven-compiler-plugin:2.5.1:compile (default-compile) @ rk_cms ---
Nothing to compile - all classes are up to date

--- maven-resources-plugin:2.6:testResources (default-testResources) @ rk_cms ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 5 resources

--- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ rk_cms ---
Nothing to compile - all classes are up to date

<<< maven-jetty-plugin:6.1.26:run (default-cli) @ rk_cms <<<

--- maven-jetty-plugin:6.1.26:run (default-cli) @ rk_cms ---
Configuring Jetty for project: rk_cms
Webapp source directory = E:\hange\java\Rk_Cms\src\main\webapp
Reload Mechanic: automatic
Classes = E:\hange\java\Rk_Cms\src\main\webapp\WEB-INF\classes
2016-05-25 08:51:35.264:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
Context path = /rk_cms
Tmp directory =  determined at runtime
Web defaults = org/mortbay/jetty/webapp/webdefault.xml
Web overrides =  none
web.xml file = E:\hange\java\Rk_Cms\src\main\webapp\WEB-INF\web.xml
Webapp directory = E:\hange\java\Rk_Cms\src\main\webapp
Starting jetty 6.1.26 ...
2016-05-25 08:51:35.326:INFO::jetty-6.1.26
2016-05-25 08:51:35.529:INFO::No Transaction manager found - if your webapp requires one, please configure one.
2016-05-25 08:51:35.654:INFO:/rk_cms:Initializing Shiro environment
2016-05-25 08:51:35,654 [INFO][org.apache.shiro.web.env.EnvironmentLoader] - Starting Shiro environment initialization.
2016-05-25 08:51:35,779 [INFO][org.apache.shiro.config.IniSecurityManagerFactory] - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur.
2016-05-25 08:51:35,779 [INFO][org.apache.shiro.web.env.EnvironmentLoader] - Shiro environment initialized in 125 ms.
2016-05-25 08:51:35,795 [INFO][org.nutz.mvc.NutFilter] - NutFilter[nutz] starting ...
2016-05-25 08:51:35,842 [DEBUG][org.nutz.mvc.config.AbstractNutConfig] - MainModule: <com.rekoe.MainModule>
2016-05-25 08:51:35,842 [DEBUG][org.nutz.mvc.config.AbstractNutConfig] - Loading by class org.nutz.mvc.impl.NutLoading
2016-05-25 08:51:35,842 [INFO][org.nutz.mvc.impl.NutLoading] - Nutz Version : 1.r.56-SNAPSHOT 
2016-05-25 08:51:35,842 [INFO][org.nutz.mvc.impl.NutLoading] - Nutz.Mvc[nutz] is initializing ...
2016-05-25 08:51:35,842 [DEBUG][org.nutz.mvc.impl.NutLoading] - Web Container Information:
2016-05-25 08:51:35,842 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - Default Charset : GBK
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - Current . path  : E:\hange\java\Rk_Cms\.
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - Java Version    : 1.8.0_60
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - File separator  : \
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - Timezone        : Asia/Shanghai
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - OS              : Windows 10 amd64
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - ServerInfo      : jetty/6.1.26
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - Servlet API     : 2.5
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - ContextPath     : /rk_cms
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] -  - context.tempdir : E:\hange\java\Rk_Cms\target\work
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.config.AbstractNutConfig] - MainModule: <com.rekoe.MainModule>
2016-05-25 08:51:35,858 [DEBUG][org.nutz.mvc.impl.NutLoading] - >> app.root = E:/hange/java/Rk_Cms/src/main/webapp
2016-05-25 08:51:35,873 [DEBUG][org.nutz.mvc.impl.NutLoading] - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*json", "com/rekoe/mvc/view", "/ioc", "*anno", "com.rekoe", "*org.nutz.plugins.view.freemarker.FreemarkerIocLoader"],init=[])
2016-05-25 08:51:36,103 [ERROR][org.nutz.mvc.impl.NutLoading] - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [
  @(com.rekoe)] becasue:
java.lang.NoClassDefFoundError: com/rekoe/domain/ObjectType
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:21)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:988)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:90)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:15)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:383)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:102)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:23)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:88)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:66)
	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
	at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
	at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
	at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.NoClassDefFoundError: com/rekoe/domain/ObjectType
	at java.lang.Class.getDeclaringClass0(Native Method)
	at java.lang.Class.getDeclaringClass(Class.java:1235)
	at java.lang.Class.getEnclosingClass(Class.java:1277)
	at java.lang.Class.getSimpleBinaryName(Class.java:1443)
	at java.lang.Class.isMemberClass(Class.java:1433)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:61)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:45)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:19)
	... 53 more
Caused by: java.lang.ClassNotFoundException: com.rekoe.domain.ObjectType
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401)
	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
	... 65 more
2016-05-25 08:51:36.103:WARN::failed nutz: org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'| by args: [|  @(com.rekoe)] becasue:|java.lang.NoClassDefFoundError: com/rekoe/domain/ObjectType
2016-05-25 08:51:36.103:WARN::Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@3caa4757{/rk_cms,E:\hange\java\Rk_Cms\src\main\webapp}
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'| by args: [|  @(com.rekoe)] becasue:|java.lang.NoClassDefFoundError: com/rekoe/domain/ObjectType
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:988)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:167)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:134)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:23)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:88)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:66)
	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
	at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
	at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
	at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
2016-05-25 08:51:36.166:INFO::Started SelectChannelConnector@0.0.0.0:88
Started Jetty Server
Starting scanner at interval of 10 seconds.

2 回复

部分类没编译的样子,

clean package jetty:run
添加回复
请先登陆
回到顶部