NutzCN Logo
问答 beetl打包后启动报错
发布于 1651天前 作者 mntswan2003 2140 次浏览 复制 上一个帖子 下一个帖子
标签:

引入nutzboot引入beetl做html渲染,在idea下使用application方式启动没有错误,但是打成kar包后用命令启动,报一下错误。



E:\dst> java -jar -Xmx512m -Xms512m -Dfile.encoding=UTF-8 -Dserver.port=9080 JKLT-1.0-SNAPSHOT.jar 445 [main] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 458 [main] INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 458 [main] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.0 created. 460 [main] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 461 [main] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.0) 'NutzbootScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 8 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 462 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'NutzbootScheduler' initialized from an externally provided properties instance. 462 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.0 463 [main] INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@52f759d7 567 [main] INFO org.eclipse.jetty.util.log - Logging initialized @710ms to org.eclipse.jetty.util.log.Slf4jLog 737 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.28.v20200408; built: 2020-04-08T17:49:39.557Z; git: ab228fde9e55e9164c738d7fa121f8ac5acd51c9; jvm 1.8.0_241-b07 834 [main] WARN org.eclipse.jetty.annotations.AnnotationParser - Unknown ASM version, assuming ASM7 835 [main] INFO org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=0ms 840 [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 848 [main] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0 848 [main] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults 851 [main] INFO org.eclipse.jetty.server.session - node0 Scavenging every 600000ms 1170 [main] ERROR org.nutz.mvc.impl.NutLoading - Error happend during start serivce! org.nutz.lang.born.BorningException: Fail to born or cast to 'org.beetl.ext.nutz.BeetlViewMaker'because: java.lang.NullPointerException at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17) at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60) at org.nutz.lang.Mirror.born(Mirror.java:1025) at org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:347) at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:164) at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28) 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.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:134) at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:749) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source) at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:773) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:360) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1445) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:838) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:275) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.server.Server.start(Server.java:407) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.server.Server.doStart(Server.java:371) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:177) at org.nutz.boot.AppContext.startServers(AppContext.java:310) at org.nutz.boot.NbApp.execute(NbApp.java:210) at org.nutz.boot.NbApp.run(NbApp.java:182) at com.yunjsoft.kingdee.project.JKLT.JKLTMainLauncher.main(JKLTMainLauncher.java:73) Caused by: java.lang.NullPointerException at org.beetl.core.misc.BeetlUtil.getWebRoot(BeetlUtil.java:274) at org.beetl.core.resource.WebAppResourceLoader.<init>(WebAppResourceLoader.java:48) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.beetl.core.fun.ObjectUtil.instance(ObjectUtil.java:472) at org.beetl.core.GroupTemplate.initResourceLoader(GroupTemplate.java:162) at org.beetl.core.GroupTemplate.<init>(GroupTemplate.java:124) at org.beetl.ext.nutz.BeetlViewMaker.init(BeetlViewMaker.java:90) at org.beetl.ext.nutz.BeetlViewMaker.<init>(BeetlViewMaker.java:55) at org.beetl.ext.nutz.BeetlViewMaker$FC$449a379ade26e6b06bdc3bf8808ca6c7.invoke(BeetlViewMaker.java) at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25) at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14) ... 33 more 1270 [main] ERROR org.nutz.mvc.impl.NutLoading - try to depose ioc 1301 [main] WARN org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@3ad83a66{/,[jar:file:/E:/dst/JKLT-1.0-SNAPSHOT.jar!/static/],UNAVAILABLE} org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.beetl.ext.nutz.BeetlViewMaker'because: java.lang.NullPointerException at org.nutz.mvc.LoadingException$FC$fe439f89091e46ca0f7988383224110b.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:1025) at org.nutz.lang.Lang.wrapThrow(Lang.java:207) at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135) at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28) 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.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:134) at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:749) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source) at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:773) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:360) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1445) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:838) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:275) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.server.Server.start(Server.java:407) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.server.Server.doStart(Server.java:371) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:177) at org.nutz.boot.AppContext.startServers(AppContext.java:310) at org.nutz.boot.NbApp.execute(NbApp.java:210) at org.nutz.boot.NbApp.run(NbApp.java:182) at com.yunjsoft.kingdee.project.JKLT.JKLTMainLauncher.main(JKLTMainLauncher.java:73) Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.beetl.ext.nutz.BeetlViewMaker'because: java.lang.NullPointerException at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17) at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60) at org.nutz.lang.Mirror.born(Mirror.java:1025) at org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:347) at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:164) at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) ... 28 more Caused by: java.lang.NullPointerException at org.beetl.core.misc.BeetlUtil.getWebRoot(BeetlUtil.java:274) at org.beetl.core.resource.WebAppResourceLoader.<init>(WebAppResourceLoader.java:48) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.beetl.core.fun.ObjectUtil.instance(ObjectUtil.java:472) at org.beetl.core.GroupTemplate.initResourceLoader(GroupTemplate.java:162) at org.beetl.core.GroupTemplate.<init>(GroupTemplate.java:124) at org.beetl.ext.nutz.BeetlViewMaker.init(BeetlViewMaker.java:90) at org.beetl.ext.nutz.BeetlViewMaker.<init>(BeetlViewMaker.java:55) at org.beetl.ext.nutz.BeetlViewMaker$FC$449a379ade26e6b06bdc3bf8808ca6c7.invoke(BeetlViewMaker.java) at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25) at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14) ... 33 more 1459 [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@4313f5bc{HTTP/1.1, (http/1.1)}{127.0.0.1:8081} 1460 [main] INFO org.eclipse.jetty.server.Server - Started @1604ms 1462 [main] INFO org.quartz.core.QuartzScheduler - Scheduler NutzbootScheduler_$_NON_CLUSTERED started. 1468 [main] ERROR org.nutz.boot.NbApp - something happen!! java.lang.RuntimeException: Context 'app' had been deposed! at org.nutz.lang.Lang.makeThrow(Lang.java:139) at org.nutz.ioc.impl.ScopeContext.checkBuffer(ScopeContext.java:39) at org.nutz.ioc.impl.ScopeContext.fetch(ScopeContext.java:55) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161) at org.nutz.boot.starter.quartz.QuartzStarter.start(QuartzStarter.java:74) at org.nutz.boot.AppContext.startServers(AppContext.java:310) at org.nutz.boot.NbApp.execute(NbApp.java:210) at org.nutz.boot.NbApp.run(NbApp.java:182) at com.yunjsoft.kingdee.project.JKLT.JKLTMainLauncher.main(JKLTMainLauncher.java:73) 1492 [main] INFO org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@4313f5bc{HTTP/1.1, (http/1.1)}{127.0.0.1:8081} 1493 [main] INFO org.eclipse.jetty.server.session - node0 Stopped scavenging 1497 [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.w.WebAppContext@3ad83a66{/,[jar:file:/E:/dst/JKLT-1.0-SNAPSHOT.jar!/static/],UNAVAILABLE} 1512 [main] INFO org.quartz.core.QuartzScheduler - Scheduler NutzbootScheduler_$_NON_CLUSTERED shutting down. 1512 [main] INFO org.quartz.core.QuartzScheduler - Scheduler NutzbootScheduler_$_NON_CLUSTERED paused. 1951 [main] INFO org.quartz.core.QuartzScheduler - Scheduler NutzbootScheduler_$_NON_CLUSTERED shutdown complete.
25 回复

2.4.0.v20200427 应该是最新版。

试试2.3.9, 晚上我测一下2.4.0.v20200427

换成2.3.9后启动也还是报错

E:\dst>java -jar -Xmx512m -Xms512m -Dfile.encoding=UTF-8 -Dserver.port=9080 JKLT-1.0-SNAPSHOT.jar
404 [main] ERROR org.nutz.boot.NbApp - something happen!!
java.lang.NoSuchFieldError: FUNCTION_TAG_LIMITER
        at org.nutz.boot.starter.beetl.BeetlGroupTemplateStarter.<clinit>(BeetlGroupTemplateStarter.java:90)
        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
        at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source)
        at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)
        at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)
        at java.lang.reflect.Field.getFieldAccessor(Unknown Source)
        at java.lang.reflect.Field.get(Unknown Source)
        at org.nutz.boot.tools.PropDocReader.addClass(PropDocReader.java:58)
        at org.nutz.boot.tools.PropDocReader.load(PropDocReader.java:35)
        at org.nutz.boot.NbApp.prepare(NbApp.java:300)
        at org.nutz.boot.NbApp.execute(NbApp.java:201)
        at org.nutz.boot.NbApp.run(NbApp.java:182)
        at com.yunjsoft.kingdee.project.JKLT.JKLTMainLauncher.main(JKLTMainLauncher.java:73)

E:\dst>

beetl版本号的问题, 再早一些试试

版本切换到3.0还是不行,还要更早吗?

一直换到2.5.0还是报错,这个时候报错跟最开始用2.4的时候报错是一样的


E:\dst>java -jar -Xmx512m -Xms512m -Dfile.encoding=UTF-8 -Dserver.port=9080 JKLT-1.0-SNAPSHOT.jar 455 [main] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 469 [main] INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 469 [main] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.0 created. 470 [main] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 471 [main] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.0) 'NutzbootScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 8 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 471 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'NutzbootScheduler' initialized from an externally provided properties instance. 472 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.0 473 [main] INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@4e718207 578 [main] INFO org.eclipse.jetty.util.log - Logging initialized @718ms to org.eclipse.jetty.util.log.Slf4jLog 754 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.27.v20200227; built: 2020-02-27T18:37:21.340Z; git: a304fd9f351f337e7c0e2a7c28878dd536149c6c; jvm 1.8.0_241-b07 853 [main] WARN org.eclipse.jetty.annotations.AnnotationParser - Unknown ASM version, assuming ASM7 854 [main] INFO org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=0ms 859 [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 867 [main] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0 867 [main] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults 869 [main] INFO org.eclipse.jetty.server.session - node0 Scavenging every 660000ms 1185 [main] ERROR org.nutz.mvc.impl.NutLoading - Error happend during start serivce! org.nutz.lang.born.BorningException: Fail to born or cast to 'org.beetl.ext.nutz.BeetlViewMaker'because: java.lang.NullPointerException at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17) at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60) at org.nutz.lang.Mirror.born(Mirror.java:1025) at org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:347) at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:164) at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28) 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.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:134) at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:751) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source) at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:360) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1445) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:825) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:275) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)

我的意思是往老版本换

想起来了,新版beetl没了报错那个属性名

配置文件里面注释一下就好了

用2.3.9, 然后再配置文件里去掉 FUNCTION_TAG_LIMITER , 应该就可以了

我的beetl.properties配置文件里现在就两个,您说的这个参数怎么去掉?

beetl.RESOURCE_LOADER=org.beetl.core.resource.WebAppResourceLoader
beetl.RESOURCE.root=src/main/resources/

为啥写的是 src/main/resources/ , 这不合理呀

把pom.xml贴一下

用demo的配置是完全正常的, RESOURCE_LOADER和root都不需要自行配置的

https://gitee.com/nutz/nutzboot/tree/dev/nutzboot-demo/nutzboot-demo-simple/nutzboot-demo-simple-beetl

现在的application.properties配置文件

jetty.port=8081
jetty.host=0.0.0.0
beetl.DELIMITER_PLACEHOLDER_START2=<%=
beetl.DELIMITER_PLACEHOLDER_END2=%>
beetl.DELIMITER_STATEMENT_START2=<%
beetl.DELIMITER_STATEMENT_END2=%>

jdbc.url=jdbc:sqlserver://192.168.1.176;DatabaseName=AIS_K3CLOUD_V7_JKLT
jdbc.username=sa
jdbc.password=MNTswan-2003

全的pom文件,我现在打包的是一个模块,模块里没有别的引用。

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.yunjsoft</groupId>
    <artifactId>kingdee</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>pom</packaging>

    <modules>
        <module>product</module>
        <module>project</module>
    </modules>
    <properties>
        <nutzboot.version>2.3.0.v20190220</nutzboot.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <mysqlVersion>8.0.20</mysqlVersion>
        <mssqlVersion>8.2.2.jre8</mssqlVersion>
        <sqliteVersion>3.31.1</sqliteVersion>
        <jtdsVersion>1.3.1</jtdsVersion>
        <H2DataVersion>1.4.200</H2DataVersion>
        <druidVersion>1.1.22</druidVersion>

        <slf4jVersion>1.6.1</slf4jVersion>
        <commonsVersion>3.8.1</commonsVersion>
        <jettyVersion>10.0.0-alpha2</jettyVersion>

        <lombokVersion>1.18.12</lombokVersion>
        <hutoolVersion>5.3.7</hutoolVersion>
        <jjwtVersion>0.9.1</jjwtVersion>
        <jacksonVersion>2.11.0</jacksonVersion>
        <fastJsonVersion>1.2.70</fastJsonVersion>
        <okhttpVersion>4.7.2</okhttpVersion>
        <httpClientVersion>4.5.12</httpClientVersion>
        <jsoupVersion>1.13.1</jsoupVersion>


        <guavaVersion>29.0-jre</guavaVersion>
        <commons-codec>1.12</commons-codec>

        <cxfVersion>3.3.6</cxfVersion>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.nutz</groupId>
                <artifactId>nutzboot-parent</artifactId>
                <version>${nutzboot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutz-integration-cxf</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-swagger</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-nutz-mvc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-nutz-dao</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-jetty</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-jdbc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-quartz</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-weixin</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-email</artifactId>
        </dependency>
        <dependency>
            <groupId>org.nutz</groupId>
            <artifactId>nutzboot-starter-beetl</artifactId>
        </dependency>
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>${H2DataVersion}</version>
        </dependency>
        <!-- mysql驱动 -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>${mysqlVersion}</version>
        </dependency>
        <!-- MSSQL驱动 -->
        <dependency>
            <groupId>net.sourceforge.jtds</groupId>
            <artifactId>jtds</artifactId>
            <version>${jtdsVersion}</version>
        </dependency>
        <dependency>
            <groupId>com.microsoft.sqlserver</groupId>
            <artifactId>mssql-jdbc</artifactId>
            <version>${mssqlVersion}</version>
        </dependency>
        <!-- sqlite 驱动 -->
        <dependency>
            <groupId>org.xerial</groupId>
            <artifactId>sqlite-jdbc</artifactId>
            <version>${sqliteVersion}</version>
        </dependency>
        <!-- Druid连接池 -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
            <version>${druidVersion}</version>
        </dependency>
        <!-- log4j驱动 -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>${slf4jVersion}</version>
        </dependency>
        <!-- hutool 工具包 -->
        <dependency>
            <groupId>cn.hutool</groupId>
            <artifactId>hutool-all</artifactId>
            <version>${hutoolVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>${commonsVersion}</version>
        </dependency>
        <!-- lombok 工具包 -->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>${lombokVersion}</version>
        </dependency>

        <!-- okhttp 工具包 -->
        <dependency>
            <groupId>com.squareup.okhttp3</groupId>
            <artifactId>okhttp</artifactId>
            <version>${okhttpVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>${httpClientVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpmime</artifactId>
            <version>${httpClientVersion}</version>
        </dependency>
        <!-- jwt 授权工具包 -->
        <dependency>
            <groupId>io.jsonwebtoken</groupId>
            <artifactId>jjwt</artifactId>
            <version>${jjwtVersion}</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>${jacksonVersion}</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>${fastJsonVersion}</version>
        </dependency>


        <!-- 云之家需要 -->
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>${commons-codec}</version>
        </dependency>
        <dependency>
            <groupId>org.jsoup</groupId>
            <artifactId>jsoup</artifactId>
            <version>${jsoupVersion}</version>
        </dependency>

        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>${guavaVersion}</version>
        </dependency>

        <dependency>
            <groupId>com.ibeetl</groupId>
            <artifactId>beetl</artifactId>
            <version>3.1.8.RELEASE</version>
        </dependency>
        <!--CXF-->

        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-core</artifactId>
            <version>${cxfVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-transports-http</artifactId>
            <version>${cxfVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-simple</artifactId>
            <version>${cxfVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxws</artifactId>
            <version>${cxfVersion}</version>
        </dependency>
        <dependency>
            <groupId>com.alipay.sdk</groupId>
            <artifactId>alipay-easysdk</artifactId>
            <version>1.2.0</version>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>nutz</id>
            <url>http://jfrog.nutz.cn/artifactory/libs-release</url>
        </repository>
        <repository>
            <id>nutz-snapshots</id>
            <url>http://jfrog.nutz.cn/artifactory/snapshots</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
        <repository>
            <id>oss</id>
            <url>https://oss.sonatype.org/content/groups/public/</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>nutz-snapshots</id>
            <url>http://jfrog.nutz.cn/artifactory/snapshots</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </pluginRepository>
    </pluginRepositories>
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <compilerArgs>
                        <arg>-parameters</arg>
                    </compilerArgs>
                    <useIncrementalCompilation>false</useIncrementalCompilation>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.10.3</version>
                <configuration>
                    <additionalparam>-Xdoclint:none</additionalparam>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.nutz.boot</groupId>
                <artifactId>nutzboot-maven-plugin</artifactId>
                <version>${nutzboot.version}</version>
            </plugin>
        </plugins>
    </build>
</project>

有时间帮看看呀!实在搞不定了!

现在报什么错误? 按demo那样是肯定ok的呀

要不你加一下QQ群吧 68428921

不然时间总对不上, 太耗时间了

现在 nutzbboot版本2.3.9.v20200309 ,beetl版本3.0.21.RELEASE

application.properties
jetty.port=8081
jetty.host=0.0.0.0
beetl.DELIMITER_PLACEHOLDER_START2=<%=
beetl.DELIMITER_PLACEHOLDER_END2=%>
beetl.DELIMITER_STATEMENT_START2=<%
beetl.DELIMITER_STATEMENT_END2=%>

jdbc.url=jdbc:sqlserver://192.168.1.176;DatabaseName=AIS_K3CLOUD_V7_JKLT
jdbc.username=sa
jdbc.password=MNTswan-2003

现在启动报错

C:\Java\jdk1.8.0_191\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53012,suspend=y,server=n -javaagent:C:\Users\mntswan\AppData\Local\JetBrains\IntelliJIdea2020.1\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Java\jdk1.8.0_191\jre\lib\charsets.jar;C:\Java\jdk1.8.0_191\jre\lib\deploy.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\access-bridge-64.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\cldrdata.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\dnsns.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\jaccess.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\jfxrt.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\localedata.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\nashorn.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\sunec.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\sunpkcs11.jar;C:\Java\jdk1.8.0_191\jre\lib\ext\zipfs.jar;C:\Java\jdk1.8.0_191\jre\lib\javaws.jar;C:\Java\jdk1.8.0_191\jre\lib\jce.jar;C:\Java\jdk1.8.0_191\jre\lib\jfr.jar;C:\Java\jdk1.8.0_191\jre\lib\jfxswt.jar;C:\Java\jdk1.8.0_191\jre\lib\jsse.jar;C:\Java\jdk1.8.0_191\jre\lib\management-agent.jar;C:\Java\jdk1.8.0_191\jre\lib\plugin.jar;C:\Java\jdk1.8.0_191\jre\lib\resources.jar;C:\Java\jdk1.8.0_191\jre\lib\rt.jar;E:\idea_work\eg_s_webapi\project\JKLT\target\classes;E:\idea_work\eg_s_webapi\product\target\classes;D:\apache-maven-3.6.3\repo\org\nutz\nutz-integration-cxf\1.r.68.v20200309\nutz-integration-cxf-1.r.68.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutz\1.r.68.v20200309\nutz-1.r.68.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-swagger\2.3.9.v20200309\nutzboot-starter-swagger-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\io\swagger\swagger-servlet\1.6.0\swagger-servlet-1.6.0.jar;D:\apache-maven-3.6.3\repo\io\swagger\swagger-core\1.6.0\swagger-core-1.6.0.jar;D:\apache-maven-3.6.3\repo\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.10.1\jackson-dataformat-yaml-2.10.1.jar;D:\apache-maven-3.6.3\repo\org\yaml\snakeyaml\1.24\snakeyaml-1.24.jar;D:\apache-maven-3.6.3\repo\io\swagger\swagger-models\1.6.0\swagger-models-1.6.0.jar;D:\apache-maven-3.6.3\repo\io\swagger\swagger-annotations\1.6.0\swagger-annotations-1.6.0.jar;D:\apache-maven-3.6.3\repo\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;D:\apache-maven-3.6.3\repo\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;D:\apache-maven-3.6.3\repo\org\javassist\javassist\3.24.0-GA\javassist-3.24.0-GA.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-core\2.3.9.v20200309\nutzboot-core-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-nutz-mvc\2.3.9.v20200309\nutzboot-starter-nutz-mvc-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-nutz-dao\2.3.9.v20200309\nutzboot-starter-nutz-dao-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutz-plugins-daocache\1.r.68.v20200309\nutz-plugins-daocache-1.r.68.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-jetty\2.3.9.v20200309\nutzboot-starter-jetty-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-servlets\9.4.27.v20200227\jetty-servlets-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-continuation\9.4.27.v20200227\jetty-continuation-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-http\9.4.27.v20200227\jetty-http-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-util\9.4.27.v20200227\jetty-util-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-io\9.4.27.v20200227\jetty-io-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-webapp\9.4.27.v20200227\jetty-webapp-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-xml\9.4.27.v20200227\jetty-xml-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-servlet\9.4.27.v20200227\jetty-servlet-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-security\9.4.27.v20200227\jetty-security-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-server\9.4.27.v20200227\jetty-server-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\websocket\websocket-server\9.4.27.v20200227\websocket-server-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\websocket\websocket-common\9.4.27.v20200227\websocket-common-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\websocket\websocket-api\9.4.27.v20200227\websocket-api-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\websocket\websocket-client\9.4.27.v20200227\websocket-client-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-client\9.4.27.v20200227\jetty-client-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\websocket\websocket-servlet\9.4.27.v20200227\websocket-servlet-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\websocket\javax-websocket-server-impl\9.4.27.v20200227\javax-websocket-server-impl-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-annotations\9.4.27.v20200227\jetty-annotations-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\jetty-plus\9.4.27.v20200227\jetty-plus-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\org\eclipse\jetty\websocket\javax-websocket-client-impl\9.4.27.v20200227\javax-websocket-client-impl-9.4.27.v20200227.jar;D:\apache-maven-3.6.3\repo\javax\websocket\javax.websocket-client-api\1.0\javax.websocket-client-api-1.0.jar;D:\apache-maven-3.6.3\repo\javax\websocket\javax.websocket-api\1.0\javax.websocket-api-1.0.jar;D:\apache-maven-3.6.3\repo\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutz-plugins-websocket\1.r.68.v20200309\nutz-plugins-websocket-1.r.68.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-servlet3\2.3.9.v20200309\nutzboot-servlet3-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\ow2\asm\asm\6.1.1\asm-6.1.1.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-jdbc\2.3.9.v20200309\nutzboot-starter-jdbc-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-quartz\2.3.9.v20200309\nutzboot-starter-quartz-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutz-integration-quartz\1.r.68.v20200309\nutz-integration-quartz-1.r.68.v20200309.jar;D:\apache-maven-3.6.3\repo\org\quartz-scheduler\quartz\2.3.0\quartz-2.3.0.jar;D:\apache-maven-3.6.3\repo\com\mchange\mchange-commons-java\0.2.11\mchange-commons-java-0.2.11.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-weixin\2.3.9.v20200309\nutzboot-starter-weixin-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzwx\1.r.68.v20200309\nutzwx-1.r.68.v20200309.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-email\2.3.9.v20200309\nutzboot-starter-email-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\org\apache\commons\commons-email\1.4\commons-email-1.4.jar;D:\apache-maven-3.6.3\repo\com\sun\mail\javax.mail\1.5.2\javax.mail-1.5.2.jar;D:\apache-maven-3.6.3\repo\javax\activation\activation\1.1.1\activation-1.1.1.jar;D:\apache-maven-3.6.3\repo\org\nutz\nutzboot-starter-beetl\2.3.9.v20200309\nutzboot-starter-beetl-2.3.9.v20200309.jar;D:\apache-maven-3.6.3\repo\com\h2database\h2\1.4.200\h2-1.4.200.jar;D:\apache-maven-3.6.3\repo\com\ibeetl\beetl\3.0.21.RELEASE\beetl-3.0.21.RELEASE.jar;D:\apache-maven-3.6.3\repo\org\ow2\asm\asm-commons\6.1.1\asm-commons-6.1.1.jar;D:\apache-maven-3.6.3\repo\org\ow2\asm\asm-tree\6.1.1\asm-tree-6.1.1.jar;D:\apache-maven-3.6.3\repo\org\ow2\asm\asm-analysis\6.1.1\asm-analysis-6.1.1.jar;D:\apache-maven-3.6.3\repo\org\antlr\antlr4-runtime\4.7.2\antlr4-runtime-4.7.2.jar;D:\apache-maven-3.6.3\repo\mysql\mysql-connector-java\8.0.20\mysql-connector-java-8.0.20.jar;D:\apache-maven-3.6.3\repo\com\google\protobuf\protobuf-java\3.6.1\protobuf-java-3.6.1.jar;D:\apache-maven-3.6.3\repo\net\sourceforge\jtds\jtds\1.3.1\jtds-1.3.1.jar;D:\apache-maven-3.6.3\repo\com\microsoft\sqlserver\mssql-jdbc\8.2.2.jre8\mssql-jdbc-8.2.2.jre8.jar;D:\apache-maven-3.6.3\repo\org\xerial\sqlite-jdbc\3.31.1\sqlite-jdbc-3.31.1.jar;D:\apache-maven-3.6.3\repo\com\alibaba\druid\1.1.22\druid-1.1.22.jar;D:\apache-maven-3.6.3\repo\org\slf4j\slf4j-simple\1.6.1\slf4j-simple-1.6.1.jar;D:\apache-maven-3.6.3\repo\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\apache-maven-3.6.3\repo\cn\hutool\hutool-all\5.3.7\hutool-all-5.3.7.jar;D:\apache-maven-3.6.3\repo\org\apache\commons\commons-lang3\3.8.1\commons-lang3-3.8.1.jar;D:\apache-maven-3.6.3\repo\org\projectlombok\lombok\1.18.12\lombok-1.18.12.jar;D:\apache-maven-3.6.3\repo\com\squareup\okhttp3\okhttp\4.7.2\okhttp-4.7.2.jar;D:\apache-maven-3.6.3\repo\com\squareup\okio\okio\2.6.0\okio-2.6.0.jar;D:\apache-maven-3.6.3\repo\org\jetbrains\kotlin\kotlin-stdlib-common\1.3.70\kotlin-stdlib-common-1.3.70.jar;D:\apache-maven-3.6.3\repo\org\jetbrains\kotlin\kotlin-stdlib\1.3.71\kotlin-stdlib-1.3.71.jar;D:\apache-maven-3.6.3\repo\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\apache-maven-3.6.3\repo\org\apache\httpcomponents\httpclient\4.5.12\httpclient-4.5.12.jar;D:\apache-maven-3.6.3\repo\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;D:\apache-maven-3.6.3\repo\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;D:\apache-maven-3.6.3\repo\org\apache\httpcomponents\httpmime\4.5.12\httpmime-4.5.12.jar;D:\apache-maven-3.6.3\repo\io\jsonwebtoken\jjwt\0.9.1\jjwt-0.9.1.jar;D:\apache-maven-3.6.3\repo\com\fasterxml\jackson\core\jackson-databind\2.11.0\jackson-databind-2.11.0.jar;D:\apache-maven-3.6.3\repo\com\fasterxml\jackson\core\jackson-annotations\2.11.0\jackson-annotations-2.11.0.jar;D:\apache-maven-3.6.3\repo\com\fasterxml\jackson\core\jackson-core\2.11.0\jackson-core-2.11.0.jar;D:\apache-maven-3.6.3\repo\com\alibaba\fastjson\1.2.70\fastjson-1.2.70.jar;D:\apache-maven-3.6.3\repo\commons-codec\commons-codec\1.12\commons-codec-1.12.jar;D:\apache-maven-3.6.3\repo\org\jsoup\jsoup\1.13.1\jsoup-1.13.1.jar;D:\apache-maven-3.6.3\repo\com\google\guava\guava\29.0-jre\guava-29.0-jre.jar;D:\apache-maven-3.6.3\repo\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\apache-maven-3.6.3\repo\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\apache-maven-3.6.3\repo\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\apache-maven-3.6.3\repo\org\checkerframework\checker-qual\2.11.1\checker-qual-2.11.1.jar;D:\apache-maven-3.6.3\repo\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\apache-maven-3.6.3\repo\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-core\3.3.6\cxf-core-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\glassfish\jaxb\jaxb-runtime\2.3.2\jaxb-runtime-2.3.2.jar;D:\apache-maven-3.6.3\repo\org\glassfish\jaxb\txw2\2.3.2\txw2-2.3.2.jar;D:\apache-maven-3.6.3\repo\com\sun\istack\istack-commons-runtime\3.0.8\istack-commons-runtime-3.0.8.jar;D:\apache-maven-3.6.3\repo\org\jvnet\staxex\stax-ex\1.8.1\stax-ex-1.8.1.jar;D:\apache-maven-3.6.3\repo\com\sun\xml\fastinfoset\FastInfoset\1.2.16\FastInfoset-1.2.16.jar;D:\apache-maven-3.6.3\repo\jakarta\activation\jakarta.activation-api\1.2.1\jakarta.activation-api-1.2.1.jar;D:\apache-maven-3.6.3\repo\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;D:\apache-maven-3.6.3\repo\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;D:\apache-maven-3.6.3\repo\org\apache\ws\xmlschema\xmlschema-core\2.2.5\xmlschema-core-2.2.5.jar;D:\apache-maven-3.6.3\repo\jakarta\xml\bind\jakarta.xml.bind-api\2.3.2\jakarta.xml.bind-api-2.3.2.jar;D:\apache-maven-3.6.3\repo\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\apache-maven-3.6.3\repo\javax\xml\ws\jaxws-api\2.3.1\jaxws-api-2.3.1.jar;D:\apache-maven-3.6.3\repo\javax\xml\soap\javax.xml.soap-api\1.4.0\javax.xml.soap-api-1.4.0.jar;D:\apache-maven-3.6.3\repo\com\sun\activation\javax.activation\1.2.0\javax.activation-1.2.0.jar;D:\apache-maven-3.6.3\repo\org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.3\geronimo-ws-metadata_2.0_spec-1.1.3.jar;D:\apache-maven-3.6.3\repo\com\sun\xml\messaging\saaj\saaj-impl\1.4.0-b03\saaj-impl-1.4.0-b03.jar;D:\apache-maven-3.6.3\repo\org\jvnet\mimepull\mimepull\1.9.7\mimepull-1.9.7.jar;D:\apache-maven-3.6.3\repo\org\jacorb\jacorb-omgapi\3.9\jacorb-omgapi-3.9.jar;D:\apache-maven-3.6.3\repo\org\apache\geronimo\specs\geronimo-jta_1.1_spec\1.1.1\geronimo-jta_1.1_spec-1.1.1.jar;D:\apache-maven-3.6.3\repo\org\jboss\spec\javax\rmi\jboss-rmi-api_1.0_spec\1.0.6.Final\jboss-rmi-api_1.0_spec-1.0.6.Final.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-transports-http\3.3.6\cxf-rt-transports-http-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-frontend-simple\3.3.6\cxf-rt-frontend-simple-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-bindings-soap\3.3.6\cxf-rt-bindings-soap-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-databinding-jaxb\3.3.6\cxf-rt-databinding-jaxb-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-wsdl\3.3.6\cxf-rt-wsdl-3.3.6.jar;D:\apache-maven-3.6.3\repo\wsdl4j\wsdl4j\1.6.3\wsdl4j-1.6.3.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-frontend-jaxws\3.3.6\cxf-rt-frontend-jaxws-3.3.6.jar;D:\apache-maven-3.6.3\repo\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-bindings-xml\3.3.6\cxf-rt-bindings-xml-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-ws-addr\3.3.6\cxf-rt-ws-addr-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\apache\cxf\cxf-rt-ws-policy\3.3.6\cxf-rt-ws-policy-3.3.6.jar;D:\apache-maven-3.6.3\repo\org\apache\neethi\neethi\3.1.1\neethi-3.1.1.jar;D:\apache-maven-3.6.3\repo\com\alipay\sdk\alipay-easysdk\1.2.0\alipay-easysdk-1.2.0.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.2\lib\idea_rt.jar" com.yunjsoft.kingdee.project.JKLT.JKLTMainLauncher
Connected to the target VM, address: '127.0.0.1:53012', transport: 'socket'
816 [main] ERROR org.nutz.boot.NbApp - something happen!!
java.lang.NoSuchFieldError: FUNCTION_TAG_LIMITER
	at org.nutz.boot.starter.beetl.BeetlGroupTemplateStarter.<clinit>(BeetlGroupTemplateStarter.java:90)
	at sun.misc.Unsafe.ensureClassInitialized(Native Method)
	at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
	at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:156)
	at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
	at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
	at java.lang.reflect.Field.get(Field.java:393)
	at org.nutz.boot.tools.PropDocReader.addClass(PropDocReader.java:58)
	at org.nutz.boot.tools.PropDocReader.load(PropDocReader.java:35)
	at org.nutz.boot.NbApp.prepare(NbApp.java:300)
	at org.nutz.boot.NbApp.execute(NbApp.java:201)
	at org.nutz.boot.NbApp.run(NbApp.java:182)
	at com.yunjsoft.kingdee.project.JKLT.JKLTMainLauncher.main(JKLTMainLauncher.java:73)
Disconnected from the target VM, address: '127.0.0.1:53012', transport: 'socket'

Process finished with exit code 0

我知道原因了

你自行加了

        <dependency>
            <groupId>com.ibeetl</groupId>
            <artifactId>beetl</artifactId>
            <version>3.1.8.RELEASE</version>
        </dependency>

删掉就行了!!

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