NutzCN Logo
问答 Generate->wk mvc时报错
发布于 2448天前 作者 cocoawmm 1755 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

应该是调用代码生成器的时候报了如下错误:

/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53731,suspend=y,server=n -javaagent:/Users/fermin/Library/Caches/IntelliJIdea2017.3/captureAgent/debugger-agent.jar=/private/var/folders/xj/g8qpqh2562q0xd8bcsdtsbmw0000gn/T/capture449.props -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar" -p /Users/fermin/.m2/repository/org/nutz/nutz/1.r.66-SNAPSHOT/nutz-1.r.66-20180406.223859-39.jar:/Users/fermin/.m2/repository/org/nutz/nutz-plugins-daocache/1.r.66-SNAPSHOT/nutz-plugins-daocache-1.r.66-20180330.130319-41.jar:/Users/fermin/.m2/repository/org/nutz/nutz-plugins-cache/1.r.66-SNAPSHOT/nutz-plugins-cache-1.r.66-20180407.095554-43.jar:/Users/fermin/.m2/repository/org/nutz/nutz-integration-quartz/1.r.66-SNAPSHOT/nutz-integration-quartz-1.r.66-20180407.095551-43.jar:/Users/fermin/.m2/repository/org/nutz/nutz-integration-jedis/1.r.66-SNAPSHOT/nutz-integration-jedis-1.r.66-20180407.095545-44.jar:/Users/fermin/.m2/repository/org/nutz/nutz-plugins-wkcache/1.r.66-SNAPSHOT/nutz-plugins-wkcache-1.r.66-20180330.130353-40.jar:/Users/fermin/.m2/repository/org/nutz/nutzwx/1.r.66-SNAPSHOT/nutzwx-1.r.66-20180317.092843-11.jar:/Users/fermin/.m2/repository/org/nutz/nutz-plugins-views/1.r.66-SNAPSHOT/nutz-plugins-views-1.r.66-20180330.130351-40.jar:/Users/fermin/.m2/repository/com/vdurmont/emoji-java/4.0.0/emoji-java-4.0.0.jar:/Users/fermin/.m2/repository/org/quartz-scheduler/quartz/2.2.3/quartz-2.2.3.jar:/Users/fermin/.m2/repository/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-web/1.4.0/shiro-web-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-core/1.4.0/shiro-core-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-lang/1.4.0/shiro-lang-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-cache/1.4.0/shiro-cache-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-crypto-hash/1.4.0/shiro-crypto-hash-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-crypto-core/1.4.0/shiro-crypto-core-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-crypto-cipher/1.4.0/shiro-crypto-cipher-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-config-core/1.4.0/shiro-config-core-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-config-ogdl/1.4.0/shiro-config-ogdl-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-event/1.4.0/shiro-event-1.4.0.jar:/Users/fermin/.m2/repository/org/apache/shiro/shiro-ehcache/1.4.0/shiro-ehcache-1.4.0.jar:/Users/fermin/.m2/repository/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25.jar:/Users/fermin/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/fermin/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/fermin/.m2/repository/com/alibaba/druid/1.1.9/druid-1.1.9.jar:/Users/fermin/.m2/repository/mysql/mysql-connector-java/5.1.45/mysql-connector-java-5.1.45.jar:/Users/fermin/.m2/repository/net/sourceforge/jtds/jtds/1.3.1/jtds-1.3.1.jar:/Users/fermin/.m2/repository/com/google/zxing/javase/3.2.1/javase-3.2.1.jar:/Users/fermin/.m2/repository/com/google/zxing/core/3.2.1/core-3.2.1.jar:/Users/fermin/.m2/repository/com/beust/jcommander/1.48/jcommander-1.48.jar:/Users/fermin/.m2/repository/net/sf/ehcache/ehcache/2.10.4/ehcache-2.10.4.jar:/Users/fermin/.m2/repository/redis/clients/jedis/2.9.0/jedis-2.9.0.jar:/Users/fermin/.m2/repository/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar:/Users/fermin/.m2/repository/org/apache/commons/commons-email/1.4/commons-email-1.4.jar:/Users/fermin/.m2/repository/com/sun/mail/javax.mail/1.5.5/javax.mail-1.5.5.jar:/Users/fermin/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/Users/fermin/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar:/Users/fermin/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/fermin/.m2/repository/com/ibeetl/beetl/2.7.27/beetl-2.7.27.jar:/Users/fermin/.m2/repository/org/antlr/antlr4-runtime/4.2/antlr4-runtime-4.2.jar:/Users/fermin/.m2/repository/org/abego/treelayout/org.abego.treelayout.core/1.0.1/org.abego.treelayout.core-1.0.1.jar:/Users/fermin/.m2/repository/org/antlr/antlr4-annotations/4.2/antlr4-annotations-4.2.jar:/Users/fermin/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/fermin/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/fermin/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/fermin/.m2/repository/org/brickred/socialauth/4.12/socialauth-4.12.jar:/Users/fermin/.m2/repository/org/json/json/20160212/json-20160212.jar:/Users/fermin/.m2/repository/io/jsonwebtoken/jjwt/0.6.0/jjwt-0.6.0.jar:/Users/fermin/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.1/jackson-databind-2.8.1.jar:/Users/fermin/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar:/Users/fermin/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.1/jackson-core-2.8.1.jar:/Users/fermin/.m2/repository/com/rabbitmq/amqp-client/4.0.0/amqp-client-4.0.0.jar:/Users/fermin/.m2/repository/org/nutz/nutz-integration-rabbitmq/1.r.66-SNAPSHOT/nutz-integration-rabbitmq-1.r.66-20180407.095553-43.jar:/Users/fermin/.m2/repository/bouncycastle/bcprov-jdk16/140/bcprov-jdk16-140.jar:/Users/fermin/.m2/repository/cn/wizzer/wk-code-generator/4.0.1-SNAPSHOT/wk-code-generator-4.0.1-20180309.063827-16.jar:/Users/fermin/.m2/repository/org/atteo/evo-inflector/1.0.1/evo-inflector-1.0.1.jar:/Users/fermin/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/fermin/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar -m wk.code.generator/cn.wizzer.commons.code.Generator -i Mp_user -u /platform/mp -b wk-app/wk-web -o /Users/fermin/Downloads/NutzWk-modular 3/wk-app/wk-web -p cn.wizzer.app.mp -v index_add_detail_edit_ -mod cn.wizzer.app.mp.modules.models -ctr cn.wizzer.app.web.modules.controllers.platform.mp -sev cn.wizzer.app.mp.modules.services controller service locale view
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules shiro.core and shiro.lang export package org.apache.shiro.util to module nutz.plugins.views

Process finished with exit code 1

请问有知道问题所在的吗,使用的是mac下IDEA,难道是工具整体配置了什么,重新解压源码运行仍然会出错。

2 回复

先换jdk8跑跑?

来自炫酷的 NutzCN

恩,确实jdk版本太高了,降到了8可以跑起来。

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