NutzCN Logo
问答 NutzWebApp start with a iocbean born cast 重复的bug
发布于 2531天前 作者 wx_7k7sjupqubj15dajalq1 1463 次浏览 复制 上一个帖子 下一个帖子
标签:
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:51 JRebel:  #############################################################
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:51 JRebel:  JRebel Agent 6.0.3 (201501261446)
2017-12-20 21:05:51 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:51 JRebel:  Over the last 1 days JRebel prevented
2017-12-20 21:05:51 JRebel:  at least 0 redeploys/restarts saving you about 0 hours.
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:51 JRebel:  Licensed to anonymous-user
2017-12-20 21:05:51 JRebel:   with the following restrictions: 
2017-12-20 21:05:51 JRebel:   ####### Cracked by anonymous-user, For FUN! Unlimited! Enjoy! ######
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:51 JRebel:  License type: perpetual
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:51 JRebel:  #############################################################
2017-12-20 21:05:51 JRebel:  
2017-12-20 21:05:52 JRebel: 
2017-12-20 21:05:52 JRebel: A newer version '7.1.3' is available for download 
2017-12-20 21:05:52 JRebel: from http://zeroturnaround.com/software/jrebel/download/
2017-12-20 21:05:52 JRebel: 
十二月 20, 2017 9:05:58 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:klnyunv2' did not find a matching property.
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.0.46
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Aug 10 2017 10:10:31 UTC
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.0.46.0
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             D:\Program Files\Java\jre1.8.0_152
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_152-b16
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         D:\my\dev\env\64\apache-tomcat-8.0.46
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.base=C:\Users\Administrator\.jrebel
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide.plugin.version=6.0.3.RELEASE-201501271431
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide.version=4.5.1
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide.product=Eclipse
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide=Eclipse
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.notification.url=http://127.0.0.1:10546/jrebel/notifications
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.workspace.path=D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.log.file=C:\Users\Administrator\.jrebel\jrebel.log
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.properties=C:\Users\Administrator\.jrebel\jrebel.properties
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentpath:D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\plugins\org.zeroturnaround.eclipse.embedder_6.0.3.RELEASE-201501271431\jrebel\lib\jrebel64.dll
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\my\dev\env\64\apache-tomcat-8.0.46
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\my\dev\env\64\apache-tomcat-8.0.46\endorsed
十二月 20, 2017 9:05:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
十二月 20, 2017 9:05:58 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jre1.8.0_152\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;D:/Program Files/Java/jre1.8.0_152/bin/server;D:/Program Files/Java/jre1.8.0_152/bin;D:/Program Files/Java/jre1.8.0_152/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;D:\Program Files\TortoiseSVN\bin;D:\SBSL142\;D:\Program Files (x86)\Calibre2\;D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse;;.
十二月 20, 2017 9:05:59 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
十二月 20, 2017 9:06:00 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十二月 20, 2017 9:06:00 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
十二月 20, 2017 9:06:00 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十二月 20, 2017 9:06:00 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 5854 ms
十二月 20, 2017 9:06:02 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 20, 2017 9:06:02 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.46
2017-12-20 21:06:04 JRebel: Directory 'D:\my\dev\project\快乐鸟\watchcbv2\target\classes' will be monitored for changes.
2017-12-20 21:06:04 JRebel: Directory 'D:\my\dev\project\快乐鸟\watchcbv2\target\m2e-wtp\web-resources' will be monitored for changes.
2017-12-20 21:06:04 JRebel: Directory 'D:\my\dev\project\快乐鸟\watchcbv2\src\main\webapp' will be monitored for changes.
十二月 20, 2017 9:06:08 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-12-20 21:06:09 JRebel-Log4j: Monitoring Log4j configuration in 'file:/D:/my/dev/project/快乐鸟/watchcbv2/target/classes/log4j.properties'.
2017-12-20 21:06:09,416 [localhost-startStop-1] INFO  org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
2017-12-20 21:06:10,038 [localhost-startStop-1] INFO  org.nutz.mvc.impl.NutLoading - Nutz Version : 1.r.62 
2017-12-20 21:06:10,039 [localhost-startStop-1] INFO  org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2017-12-20 21:06:11,491 [localhost-startStop-1] ERROR org.nutz.mvc.impl.NutLoading - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [@(com.kln)]
 because:org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:23)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:92)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:381)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:48)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader$FC$d0275b2b871e237a38f11859247d1599.invoke(AnnotationIocLoader.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:17)
	... 22 more
十二月 20, 2017 9:06:11 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [@(com.kln)]
 because:org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:200)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [@(com.kln)]
 because:org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:23)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:92)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:381)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
	... 15 more
Caused by: org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:48)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader$FC$d0275b2b871e237a38f11859247d1599.invoke(AnnotationIocLoader.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:17)
	... 22 more

十二月 20, 2017 9:06:11 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
十二月 20, 2017 9:06:11 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/klnyunv2] startup failed due to previous errors
十二月 20, 2017 9:06:11 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
十二月 20, 2017 9:06:11 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
十二月 20, 2017 9:06:11 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 11529 ms

7 回复

com.kln.app.AppUser,com.kln.action.AppUser 检查下

奇怪在于 ,之前都是正常的,安装了一个jrebel才出现的异常
而且我项目源码中 并无com.kln.action.AppUser存在

唯一可疑点是,有个Appuser的实体类
package com.kln.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;
import java.io.Serializable;

/**
 * 手表APP家长用户基础表
 * @author TuWei
 * @date 2017-10-27
 */
@Table("m_appuser")
public class Appuser

提示的冲突的包名没有com.kln.entity

日志调到debug看看

log4j日志设置为debug

2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:41 JRebel:  #############################################################
2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:41 JRebel:  JRebel Agent 6.0.3 (201501261446)
2017-12-20 22:55:41 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:41 JRebel:  Over the last 1 days JRebel prevented
2017-12-20 22:55:41 JRebel:  at least 0 redeploys/restarts saving you about 0 hours.
2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:41 JRebel:  Licensed to anonymous-user
2017-12-20 22:55:41 JRebel:   with the following restrictions: 
2017-12-20 22:55:41 JRebel:   ####### Cracked by anonymous-user, For FUN! Unlimited! Enjoy! ######
2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:41 JRebel:  License type: perpetual
2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:41 JRebel:  #############################################################
2017-12-20 22:55:41 JRebel:  
2017-12-20 22:55:42 JRebel: 
2017-12-20 22:55:42 JRebel: A newer version '7.1.4' is available for download 
2017-12-20 22:55:42 JRebel: from http://zeroturnaround.com/software/jrebel/download/
2017-12-20 22:55:42 JRebel: 
十二月 20, 2017 10:55:45 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:klnyunv2' did not find a matching property.
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.0.46
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Aug 10 2017 10:10:31 UTC
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.0.46.0
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             D:\Program Files\Java\jre1.8.0_152
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_152-b16
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         D:\my\dev\env\64\apache-tomcat-8.0.46
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1759
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.base=C:\Users\Administrator\.jrebel
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide.plugin.version=6.0.3.RELEASE-201501271431
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide.version=4.5.1
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide.product=Eclipse
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.env.ide=Eclipse
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.notification.url=http://127.0.0.1:1320/jrebel/notifications
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.workspace.path=D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.log.file=C:\Users\Administrator\.jrebel\jrebel.log
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Drebel.properties=C:\Users\Administrator\.jrebel\jrebel.properties
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentpath:D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\plugins\org.zeroturnaround.eclipse.embedder_6.0.3.RELEASE-201501271431\jrebel\lib\jrebel64.dll
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\my\dev\env\64\apache-tomcat-8.0.46
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\my\dev\env\64\apache-tomcat-8.0.46\endorsed
十二月 20, 2017 10:55:45 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
十二月 20, 2017 10:55:45 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jre1.8.0_152\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;D:/Program Files/Java/jre1.8.0_152/bin/server;D:/Program Files/Java/jre1.8.0_152/bin;D:/Program Files/Java/jre1.8.0_152/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;D:\Program Files\TortoiseSVN\bin;D:\SBSL142\;D:\Program Files (x86)\Calibre2\;D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse;;.
十二月 20, 2017 10:55:45 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
十二月 20, 2017 10:55:46 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十二月 20, 2017 10:55:46 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
十二月 20, 2017 10:55:46 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十二月 20, 2017 10:55:46 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2919 ms
十二月 20, 2017 10:55:46 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 20, 2017 10:55:46 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.46
2017-12-20 22:55:47 JRebel: Directory 'D:\my\dev\project\快乐鸟\watchcbv2\target\classes' will be monitored for changes.
2017-12-20 22:55:47 JRebel: Directory 'D:\my\dev\project\快乐鸟\watchcbv2\target\m2e-wtp\web-resources' will be monitored for changes.
2017-12-20 22:55:47 JRebel: Directory 'D:\my\dev\project\快乐鸟\watchcbv2\src\main\webapp' will be monitored for changes.
十二月 20, 2017 10:55:50 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-12-20 22:55:50 JRebel-Log4j: Monitoring Log4j configuration in 'file:/D:/my/dev/project/快乐鸟/watchcbv2/target/classes/log4j.properties'.
2017-12-20 22:55:50,873 [localhost-startStop-1] INFO  org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
2017-12-20 22:55:50,941 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Locations count=4 time use 16ms
2017-12-20 22:55:50,967 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Locations count=26 time use 25ms
2017-12-20 22:55:51,267 [localhost-startStop-1] DEBUG org.nutz.castor.Castors - Using 95 castor for Castors
2017-12-20 22:55:51,383 [localhost-startStop-1] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
2017-12-20 22:55:51,396 [localhost-startStop-1] INFO  org.nutz.mvc.impl.NutLoading - Nutz Version : 1.r.62 
2017-12-20 22:55:51,396 [localhost-startStop-1] INFO  org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2017-12-20 22:55:51,396 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
2017-12-20 22:55:51,401 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - Default Charset : UTF-8
2017-12-20 22:55:51,402 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - Current . path  : D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\.
2017-12-20 22:55:51,402 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - Java Version    : 1.8.0_152
2017-12-20 22:55:51,402 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - File separator  : \
2017-12-20 22:55:51,402 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - Timezone        : Asia/Shanghai
2017-12-20 22:55:51,404 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - OS              : Windows 7 amd64
2017-12-20 22:55:51,405 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - ServerInfo      : Apache Tomcat/8.0.46
2017-12-20 22:55:51,405 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - Servlet API     : 3.1
2017-12-20 22:55:51,405 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - ContextPath     : /klnyunv2
2017-12-20 22:55:51,406 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - context.tempdir : D:\my\dev\env\64\eclipse-jee-mars-1-win32-x86_64\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\klnyunv2
2017-12-20 22:55:51,406 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading -  - MainModule      : com.kln.MainModule
2017-12-20 22:55:51,407 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = D:/my/dev/project/快乐鸟/watchcbv2/src/main/webapp
2017-12-20 22:55:51,473 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*org.nutz.ioc.loader.json.JsonLoader", "conf/", "*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "com.kln"],init=[])
2017-12-20 22:55:51,784 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 6 resource by src( conf/ ) , regex( ^(.+[.])(js|json)$ )
2017-12-20 22:55:51,785 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading [aop.js]
2017-12-20 22:55:51,812 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading [dao.mysql.js]
2017-12-20 22:55:51,814 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading [mvcs.js]
2017-12-20 22:55:51,815 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading [aop.js]
2017-12-20 22:55:51,816 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading [dao.mysql.js]
2017-12-20 22:55:51,816 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading [mvcs.js]
2017-12-20 22:55:51,817 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 13 bean define from path=[conf/] --> [log, upload, txNONE, sqlf, $aop, txREPEATABLE_READ, dao, txREAD_UNCOMMITTED, txREAD_COMMITTED, prop, txSERIALIZABLE, json, dataSource]
2017-12-20 22:55:51,940 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 107 resource by src( com/kln/ ) , regex( ^.+[.]class$ )
2017-12-20 22:55:52,197 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.action.AppUser
2017-12-20 22:55:52,227 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.action.KlnInterface
2017-12-20 22:55:52,248 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.action.PhpInterface
2017-12-20 22:55:52,255 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.action.StudentModule
2017-12-20 22:55:52,257 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.action.third.BillsReceiver
2017-12-20 22:55:52,265 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.app.AppCard
2017-12-20 22:55:52,269 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.app.AppMessage
2017-12-20 22:55:52,272 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.app.AppStudent
2017-12-20 22:55:52,280 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.kln.app.AppUser
2017-12-20 22:55:52,287 [localhost-startStop-1] ERROR org.nutz.mvc.impl.NutLoading - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [@(com.kln)]
 because:org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:23)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:92)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:381)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:48)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader$FC$d0275b2b871e237a38f11859247d1599.invoke(AnnotationIocLoader.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:17)
	... 22 more
十二月 20, 2017 10:55:52 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [@(com.kln)]
 because:org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:200)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [@(com.kln)]
 because:org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:23)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:92)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:381)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
	... 15 more
Caused by: org.nutz.ioc.IocException: IocBean[appUser] Duplicate beanName=appUser, by com.kln.app.AppUser !!  Have been define by com.kln.action.AppUser !!
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:48)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader$FC$d0275b2b871e237a38f11859247d1599.invoke(AnnotationIocLoader.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:17)
	... 22 more

十二月 20, 2017 10:55:52 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
十二月 20, 2017 10:55:52 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/klnyunv2] startup failed due to previous errors
十二月 20, 2017 10:55:52 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
十二月 20, 2017 10:55:52 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
十二月 20, 2017 10:55:52 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 6352 ms

的确有这两个同名类哦,是不是在某个jar包里面的?

添加回复
请先登陆
回到顶部