NutzCN Logo
问答 控制层定义了一个内部类 启动时报错了
发布于 2922天前 作者 Hamming 4482 次浏览 复制 上一个帖子 下一个帖子
标签:
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [
  @(nuoshang.bluejay)] becasue:
java.lang.IncompatibleClassChangeError: nuoshang.bluejay.modules.app.controllers.AppOrderItemController and nuoshang.bluejay.modules.app.controllers.AppOrderItemController$totalClass disagree on InnerClasses attribute
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:21)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
    public static class totalClas {
        public int value;
        public String name;

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

昨天运行都没错 今天就出错

2 回复

把内部类拿出来重新定义

public class Charts_name {
    public int value;
    public String name;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
@At("/salesChart")
	@Ok("json")
	@RequiresAuthentication
	public Object salesChart(){

		NutMap re = new NutMap();
		List<String>prodName = new ArrayList<>();
		List<Integer>total = new ArrayList<>();
		List<Charts_name> totalList = new ArrayList<>();
		try {
			List<App_product> productList = productService.query(Cnd.where("delFlag","=",0).asc("name"));
			for(App_product p:productList){
				int count = appOrderItemService.dao().func(App_order_item.class,"sum","prodNum", Cnd.where("prodId","=",p.getId()));
				prodName.add(p.getName());
				total.add(count);
                Charts_name tc = new Charts_name();
				tc.setValue(count);
				tc.setName(p.getName());
				totalList.add(tc);
			}
			re.addv("categories",prodName).addv("data",total).addv("map",totalList);
			return re;
		} catch (Exception e) {
			return Result.error(e.toString());
		}
	}

	@At("/cateChart")
	@Ok("json")
	@RequiresAuthentication
	public Object CateChart(){
		NutMap re = new NutMap();
        Map<String,Integer> totalMap = new HashedMap();

        List<String>cateName = new ArrayList<>();
        List<Charts_name> total = new ArrayList<>();

		try {
            Sql sql = dao.sqls().create("cate_chart.list");
            List<Record> ord_item = appOrderItemService.list(sql);
            List<App_prodCate> prodCateList = categoryService.query(Cnd.where("parentId","=","").and("delFlag","=",0).asc("path"));
            for(App_prodCate pcl:prodCateList){
                totalMap.put(pcl.getId(),0);
            }
            for(Record oi:ord_item){
                int count = totalMap.get(oi.getString("parentId"));
                int prodNum = oi.getInt("prodNum");
                totalMap.put(oi.getString("parentId"),(count + prodNum));
            }
            for(App_prodCate pcl:prodCateList){
                cateName.add(pcl.getName());
                Charts_name tc= new Charts_name();
                tc.setName(pcl.getName());
                tc.setValue(totalMap.get(pcl.getId()));
                total.add(tc);
            }
            re.addv("name",cateName).addv("data",total);
			return re;
		} catch (Exception e) {
			return Result.error(e.toString());
		}
	}

启动报错如下

[2016-11-15 11:05:19,105] Artifact BlueJay:war: Artifact is being deployed, please wait...
15-Nov-2016 11:05:29.046 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\apache-tomcat-8.5.5\webapps\manager
15-Nov-2016 11:05:29.063 INFO [RMI TCP Connection(5)-127.0.0.1] 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.
15-Nov-2016 11:05:29.131 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\apache-tomcat-8.5.5\webapps\manager has finished in 85 ms
2016-11-15 11:05:29,272 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [shiro.ini]
2016-11-15 11:05:29,289 org.apache.shiro.config.Ini.load(Ini.java:351) DEBUG - Parsing [main]
2016-11-15 11:05:29,299 org.apache.shiro.config.Ini.load(Ini.java:351) DEBUG - Parsing [urls]
2016-11-15 11:05:29,305 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=main,urls]
2016-11-15 11:05:29,577 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [ehcache.xml]
2016-11-15 11:05:29,852 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$cacheManager_ehcache'.  Looking up object with id 'cacheManager_ehcache'
2016-11-15 11:05:29,853 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$cacheManager_redis'.  Looking up object with id 'cacheManager_redis'
2016-11-15 11:05:29,878 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$cacheManager'.  Looking up object with id 'cacheManager'
2016-11-15 11:05:29,890 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$cacheManager'.  Looking up object with id 'cacheManager'
2016-11-15 11:05:29,904 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sessionDAO'.  Looking up object with id 'sessionDAO'
2016-11-15 11:05:29,904 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sessionManager'.  Looking up object with id 'sessionManager'
2016-11-15 11:05:29,906 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sessionIdGenerator'.  Looking up object with id 'sessionIdGenerator'
2016-11-15 11:05:29,909 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sessionIdCookie'.  Looking up object with id 'sessionIdCookie'
2016-11-15 11:05:29,918 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$rememberMeCookie'.  Looking up object with id 'rememberMeCookie'
2016-11-15 11:05:29,956 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sha256Matcher'.  Looking up object with id 'sha256Matcher'
2016-11-15 11:05:29,957 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) DEBUG - No authorizationCache instance set.  Checking for a cacheManager...
2016-11-15 11:05:29,958 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:248) DEBUG - No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
2016-11-15 11:05:29,958 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$shiroDbRealm'.  Looking up object with id 'shiroDbRealm'
2016-11-15 11:05:29,958 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$shiroDbRealm'.  Looking up object with id 'shiroDbRealm'
2016-11-15 11:05:29,959 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) DEBUG - No authorizationCache instance set.  Checking for a cacheManager...
2016-11-15 11:05:29,959 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:242) DEBUG - CacheManager [nuoshang.bluejay.common.shiro.cache.LCacheManager@1b1c7ac] has been configured.  Building authorization cache named [shiroDbRealm.authorizationCache]
2016-11-15 11:05:29,995 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$authcStrategy'.  Looking up object with id 'authcStrategy'
2016-11-15 11:05:29,995 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$rememberMeManager'.  Looking up object with id 'rememberMeManager'
2016-11-15 11:05:29,995 org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:296) INFO  - An instance with name 'authc' already exists.  Redefining this object as a new instance of type nuoshang.bluejay.common.shiro.filter.SimpleAuthenticationFilter
2016-11-15 11:05:30,015 org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms(IniSecurityManagerFactory.java:118) INFO  - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur.
2016-11-15 11:05:30,018 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=main,urls]
2016-11-15 11:05:30,033 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO  - NutFilter[nutz] starting ...
2016-11-15 11:05:30,109 org.nutz.resource.Scans.<init>(Scans.java:497) DEBUG - Locations for Scans:
[Dir[path=F:\apache-tomcat-8.5.5\bin], Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-1.r.58-SNAPSHOT.jar], Dir[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\classes], Jar[path=F:\apache-tomcat-8.5.5\bin\bootstrap.jar], Jar[path=F:\apache-tomcat-8.5.5\bin\tomcat-juli.jar]]
2016-11-15 11:05:30,653 org.nutz.resource.Scans.init(Scans.java:104) DEBUG - Locations for Scans:
{F:\apache-tomcat-8.5.5\bin=Dir[path=F:\apache-tomcat-8.5.5\bin], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-1.r.58-SNAPSHOT.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-1.r.58-SNAPSHOT.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\classes=Dir[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\classes], F:\apache-tomcat-8.5.5\bin\bootstrap.jar=Jar[path=F:\apache-tomcat-8.5.5\bin\bootstrap.jar], F:\apache-tomcat-8.5.5\bin\tomcat-juli.jar=Jar[path=F:\apache-tomcat-8.5.5\bin\tomcat-juli.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jpush-client-3.2.10.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jpush-client-3.2.10.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-codec-1.4.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-codec-1.4.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-email-1.4.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-email-1.4.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jcommander-1.48.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jcommander-1.48.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-plugins-views-1.r.58-SNAPSHOT.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-plugins-views-1.r.58-SNAPSHOT.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\dom4j-2.0.0.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\dom4j-2.0.0.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-lang3-3.4.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-lang3-3.4.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\core-3.2.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\core-3.2.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\shiro-web-1.2.5.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\shiro-web-1.2.5.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\evo-inflector-1.0.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\evo-inflector-1.0.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-plugins-daocache-1.r.57.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-plugins-daocache-1.r.57.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-integration-quartz-1.r.57.r2.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-integration-quartz-1.r.57.r2.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\simplecaptcha-1.2.2.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\simplecaptcha-1.2.2.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\c3p0-0.9.1.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\c3p0-0.9.1.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-cli-1.2.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-cli-1.2.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-lang-2.6.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-lang-2.6.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\socialauth-4.12.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\socialauth-4.12.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jedis-2.8.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jedis-2.8.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jiguang-common-0.1.3.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jiguang-common-0.1.3.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\druid-1.0.24.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\druid-1.0.24.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jackson-databind-2.8.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jackson-databind-2.8.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\shiro-core-1.2.5.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\shiro-core-1.2.5.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-beanutils-core-1.8.3.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-beanutils-core-1.8.3.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jackson-annotations-2.8.0.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jackson-annotations-2.8.0.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\emoji-java-3.1.3.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\emoji-java-3.1.3.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\quartz-2.2.3.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\quartz-2.2.3.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\slf4j-log4j12-1.7.21.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\slf4j-log4j12-1.7.21.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutzwx-1.r.58-SNAPSHOT.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutzwx-1.r.58-SNAPSHOT.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-logging-1.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-logging-1.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jackson-core-2.8.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jackson-core-2.8.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutzwk-code-generator-1.0.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutzwk-code-generator-1.0.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jtds-1.3.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jtds-1.3.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-beanutils-1.8.3.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-beanutils-1.8.3.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\javax.servlet-api-3.1.0.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\javax.servlet-api-3.1.0.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jaxen-1.1.6.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jaxen-1.1.6.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\activation-1.1.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\activation-1.1.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\antlr4-runtime-4.2.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\antlr4-runtime-4.2.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\org.abego.treelayout.core-1.0.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\org.abego.treelayout.core-1.0.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\servlet-api-2.3.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\servlet-api-2.3.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\icu4j-4.8.1.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\icu4j-4.8.1.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-collections-3.2.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-collections-3.2.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\javax.mail-1.5.5.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\javax.mail-1.5.5.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\mysql-connector-java-5.1.39.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\mysql-connector-java-5.1.39.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\gson-2.2.4.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\gson-2.2.4.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\slf4j-api-1.7.21.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\slf4j-api-1.7.21.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\javase-3.2.1.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\javase-3.2.1.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\json-20160212.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\json-20160212.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\antlr4-annotations-4.2.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\antlr4-annotations-4.2.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\beetl-2.5.0.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\beetl-2.5.0.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-pool2-2.4.2.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\commons-pool2-2.4.2.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\log4j-1.2.17.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\log4j-1.2.17.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\ehcache-2.10.2.2.21.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\ehcache-2.10.2.2.21.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jjwt-0.6.0.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\jjwt-0.6.0.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-plugins-sfntly-1.r.58-SNAPSHOT.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-plugins-sfntly-1.r.58-SNAPSHOT.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\shiro-all-1.3.0.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\shiro-all-1.3.0.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-integration-shiro-1.r.57.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\nutz-integration-shiro-1.r.57.jar], F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\velocity-1.7.jar=Jar[path=F:\apache-tomcat-8.5.5\webapps\ROOT\WEB-INF\lib\velocity-1.7.jar]}
2016-11-15 11:05:30,720 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 94 castor for Castors
2016-11-15 11:05:30,738 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2016-11-15 11:05:30,740 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO  - Nutz Version : 1.r.58-SNAPSHOT 
2016-11-15 11:05:30,740 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO  - Nutz.Mvc[nutz] is initializing ...
2016-11-15 11:05:30,740 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2016-11-15 11:05:30,741 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG -  - Default Charset : GBK
2016-11-15 11:05:30,741 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG -  - Current . path  : F:\apache-tomcat-8.5.5\bin\.
2016-11-15 11:05:30,742 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG -  - Java Version    : 1.8.0_45
2016-11-15 11:05:30,742 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG -  - File separator  : \
2016-11-15 11:05:30,742 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG -  - Timezone        : Asia/Shanghai
2016-11-15 11:05:30,742 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG -  - OS              : Windows 7 x86
2016-11-15 11:05:30,743 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG -  - ServerInfo      : Apache Tomcat/8.5.5
2016-11-15 11:05:30,743 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG -  - Servlet API     : 3.1
2016-11-15 11:05:30,743 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG -  - ContextPath     : 
2016-11-15 11:05:30,743 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG -  - context.tempdir : C:\Users\Administrator\.IntelliJIdea2016.2\system\tomcat\Unnamed_bluejay_2\work\Catalina\localhost\ROOT
2016-11-15 11:05:30,743 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG -  - MainModule      : nuoshang.bluejay.common.core.Module
2016-11-15 11:05:30,745 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:238) DEBUG - >> app.root = F:/apache-tomcat-8.5.5/webapps/ROOT
2016-11-15 11:05:30,748 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*json", "config/ioc/", "*anno", "nuoshang.bluejay", "*tx", "*quartz", "*async"],init=[])
2016-11-15 11:05:30,776 org.nutz.resource.Scans.scan(Scans.java:262) DEBUG - Found 5 resource by src( config/ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-11-15 11:05:30,777 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.json]
2016-11-15 11:05:30,783 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [ehcache.json]
2016-11-15 11:05:30,784 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [mail.json]
2016-11-15 11:05:30,785 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [redis.json]
2016-11-15 11:05:30,786 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [upload.json]
2016-11-15 11:05:30,787 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) DEBUG - Loaded 19 bean define from path=[config/ioc/] --> [videoUpload, conf, uploadVideoContext, imageUpload, sqlManager, jedisPool, fileUpload, cacheManager, dao, cacheProvider, emailAuthenticator, uploadFileContext, htmlEmail, myUpload, cacheExecutor, tmpFilePool, jedisPoolConfig, uploadImageContext, dataSource]
2016-11-15 11:05:30,829 org.nutz.resource.Scans.scan(Scans.java:262) DEBUG - Found 324 resource by src( nuoshang/bluejay/ ) , regex( ^.+[.]class$ )
2016-11-15 11:05:31,020 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.ig.RedisIdGenerator
2016-11-15 11:05:31,027 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.quartz.job.ActivityJob
2016-11-15 11:05:31,030 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.quartz.job.TestJob
2016-11-15 11:05:31,031 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.email.EmailService
2016-11-15 11:05:31,033 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.log.SysLogAopConfigration
2016-11-15 11:05:31,037 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.log.SysLogService
2016-11-15 11:05:31,038 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.pubsub.PubSubService
2016-11-15 11:05:31,039 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.qrcode.QrcodeService
2016-11-15 11:05:31,041 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.redis.RedisInterceptor
2016-11-15 11:05:31,043 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.redis.RedisService
2016-11-15 11:05:31,094 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.wx.TplService
2016-11-15 11:05:31,094 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.services.wx.WxHandler
2016-11-15 11:05:31,107 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.shiro.view.Permission
2016-11-15 11:05:31,108 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.util.Arith
2016-11-15 11:05:31,109 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.util.CacheUtil
2016-11-15 11:05:31,110 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.util.DateUtil
2016-11-15 11:05:31,112 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.util.StringUtil
2016-11-15 11:05:31,113 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.common.websocket.NutzbookWebsocket
2016-11-15 11:05:31,117 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppAdClassController
2016-11-15 11:05:31,123 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppAdController
2016-11-15 11:05:31,138 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppAddressController
2016-11-15 11:05:31,140 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppAddressModuler
2016-11-15 11:05:31,142 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppAdQueryController
2016-11-15 11:05:31,143 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppCommentController
2016-11-15 11:05:31,144 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppCommentModuler
2016-11-15 11:05:31,148 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppCompInfoController
2016-11-15 11:05:31,149 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppCompInfoModuler
2016-11-15 11:05:31,149 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppFeedBackController
2016-11-15 11:05:31,150 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppFeedBackModuler
2016-11-15 11:05:31,151 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppIntegralController
2016-11-15 11:05:31,153 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppIntegralModuler
2016-11-15 11:05:31,154 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppIntegralOrderModuler
2016-11-15 11:05:31,176 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class nuoshang.bluejay.modules.app.controllers.AppOrderController
2016-11-15 11:05:31,178 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) ERROR - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [
  @(nuoshang.bluejay)] becasue:
java.lang.IncompatibleClassChangeError: nuoshang.bluejay.modules.app.controllers.AppOrderItemController and nuoshang.bluejay.modules.app.controllers.AppOrderItemController$totalClass disagree on InnerClasses attribute
	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:990)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:126)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:80)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:384)
	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:87)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
	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:4572)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)
15-Nov-2016 11:05:31.186 SEVERE [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
15-Nov-2016 11:05:31.187 SEVERE [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1702)
	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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431)
	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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828)
	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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$254(TCPTransport.java:683)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$1/1265111.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IncompatibleClassChangeError: nuoshang.bluejay.modules.app.controllers.AppOrderItemController and nuoshang.bluejay.modules.app.controllers.AppOrderItemController$totalClass disagree on InnerClasses attribute
	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:62)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:46)
	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)
	... 59 more
[2016-11-15 11:05:31,235] Artifact BlueJay:war: Error during artifact deployment. See server log for details.

删了target解决了

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