上午的pom解决了,下午想着连连数据库,就成了,结果我也没有用jetty,也不想用tomcat,可是还是会向我要servlet的东西,我实在是找不到对应的内容呢。错误日志如下:
/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62082,suspend=y,server=n -javaagent:/Users/lambert.liu/Library/Caches/IntelliJIdea2017.3/captureAgent/debugger-agent.jar=/private/var/folders/ky/z827mzfn1xb_t4_2jwp7rdc00000gn/T/capture216.props -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/tools.jar:/Users/lambert.liu/Documents/productFile/yiyun/4源代码/CreditsMall/yan/target/classes:/Users/lambert.liu/Documents/productFile/yiyun/4源代码/CreditsMall/common/target/classes:/Users/lambert.liu/.m2/repository/javax/mail/mail/1.4.7/mail-1.4.7.jar:/Users/lambert.liu/.m2/repository/org/apache/poi/poi/3.9/poi-3.9.jar:/Users/lambert.liu/.m2/repository/commons-codec/commons-codec/1.5/commons-codec-1.5.jar:/Users/lambert.liu/.m2/repository/org/apache/poi/ooxml-schemas/1.3/ooxml-schemas-1.3.jar:/Users/lambert.liu/.m2/repository/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar:/Users/lambert.liu/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/lambert.liu/.m2/repository/org/apache/poi/poi-ooxml/3.10-FINAL/poi-ooxml-3.10-FINAL.jar:/Users/lambert.liu/.m2/repository/org/apache/poi/poi-ooxml-schemas/3.10-FINAL/poi-ooxml-schemas-3.10-FINAL.jar:/Users/lambert.liu/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/lambert.liu/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/Users/lambert.liu/.m2/repository/com/squareup/okhttp3/okhttp/3.6.0/okhttp-3.6.0.jar:/Users/lambert.liu/.m2/repository/com/squareup/okio/okio/1.11.0/okio-1.11.0.jar:/Users/lambert.liu/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/Users/lambert.liu/.m2/repository/com/aliyun/oss/aliyun-sdk-oss/2.2.3/aliyun-sdk-oss-2.2.3.jar:/Users/lambert.liu/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar:/Users/lambert.liu/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar:/Users/lambert.liu/.m2/repository/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar:/Users/lambert.liu/.m2/repository/net/sf/json-lib/json-lib/2.4/json-lib-2.4-jdk15.jar:/Users/lambert.liu/.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar:/Users/lambert.liu/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/Users/lambert.liu/.m2/repository/xom/xom/1.2.5/xom-1.2.5.jar:/Users/lambert.liu/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/lambert.liu/.m2/repository/xerces/xercesImpl/2.8.0/xercesImpl-2.8.0.jar:/Users/lambert.liu/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.jar:/Users/lambert.liu/.m2/repository/com/github/wxpay/wxpay-sdk/0.0.3/wxpay-sdk-0.0.3.jar:/Users/lambert.liu/.m2/repository/com/egzosn/pay-java-wx/2.0.4-RELEASE/pay-java-wx-2.0.4-RELEASE.jar:/Users/lambert.liu/.m2/repository/com/egzosn/pay-java-common/2.0.4-RELEASE/pay-java-common-2.0.4-RELEASE.jar:/Users/lambert.liu/.m2/repository/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar:/Users/lambert.liu/.m2/repository/com/alibaba/fastjson/1.2.17/fastjson-1.2.17.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.1/maven-common-artifact-filters-1.1.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar:/Users/lambert.liu/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.7/plexus-interpolation-1.7.jar:/Users/lambert.liu/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-12/plexus-archiver-1.0-alpha-12.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/shared/file-management/1.1/file-management-1.1.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-core/2.0.6/maven-core-2.0.6.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-plugin-parameter-documenter/2.0.6/maven-plugin-parameter-documenter-2.0.6.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-error-diagnostics/2.0.6/maven-error-diagnostics-2.0.6.jar:/Users/lambert.liu/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-plugin-descriptor/2.0.6/maven-plugin-descriptor-2.0.6.jar:/Users/lambert.liu/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/com/jcraft/jsch/0.1.27/jsch-0.1.27.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.jar:/Users/lambert.liu/.m2/repository/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.jar:/Users/lambert.liu/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-4/plexus-io-1.0-alpha-4.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.jar:/Users/lambert.liu/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar:/Users/lambert.liu/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/Users/lambert.liu/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.1/plexus-utils-2.0.1.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.jar:/Users/lambert.liu/.m2/repository/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.jar:/Users/lambert.liu/Documents/productFile/yiyun/4源代码/CreditsMall/services/target/classes:/Users/lambert.liu/.m2/repository/com/alipay/sdk-java/20170307171631/sdk-java-20170307171631.jar:/Users/lambert.liu/.m2/repository/javax/xml/bind/jaxb-api/2.2.3/jaxb-api-2.2.3.jar:/Users/lambert.liu/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-jetty/2.2-SNAPSHOT/nutzboot-starter-jetty-2.2-20180222.034349-86.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-servlets/9.4.8.v20171121/jetty-servlets-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-continuation/9.4.8.v20171121/jetty-continuation-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-http/9.4.8.v20171121/jetty-http-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-util/9.4.8.v20171121/jetty-util-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-io/9.4.8.v20171121/jetty-io-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-webapp/9.4.8.v20171121/jetty-webapp-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-xml/9.4.8.v20171121/jetty-xml-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-servlet/9.4.8.v20171121/jetty-servlet-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-security/9.4.8.v20171121/jetty-security-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-server/9.4.8.v20171121/jetty-server-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/websocket/websocket-server/9.4.8.v20171121/websocket-server-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/websocket/websocket-common/9.4.8.v20171121/websocket-common-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/websocket/websocket-api/9.4.8.v20171121/websocket-api-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/websocket/websocket-client/9.4.8.v20171121/websocket-client-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-client/9.4.8.v20171121/jetty-client-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/websocket/websocket-servlet/9.4.8.v20171121/websocket-servlet-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/websocket/javax-websocket-server-impl/9.4.8.v20171121/javax-websocket-server-impl-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-annotations/9.4.8.v20171121/jetty-annotations-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/jetty-plus/9.4.8.v20171121/jetty-plus-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar:/Users/lambert.liu/.m2/repository/org/ow2/asm/asm/6.0/asm-6.0.jar:/Users/lambert.liu/.m2/repository/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.jar:/Users/lambert.liu/.m2/repository/org/ow2/asm/asm-tree/6.0/asm-tree-6.0.jar:/Users/lambert.liu/.m2/repository/org/eclipse/jetty/websocket/javax-websocket-client-impl/9.4.8.v20171121/javax-websocket-client-impl-9.4.8.v20171121.jar:/Users/lambert.liu/.m2/repository/javax/websocket/javax.websocket-client-api/1.0/javax.websocket-client-api-1.0.jar:/Users/lambert.liu/.m2/repository/javax/websocket/javax.websocket-api/1.0/javax.websocket-api-1.0.jar:/Users/lambert.liu/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-plugins-websocket/1.r.66-SNAPSHOT/nutz-plugins-websocket-1.r.66-20180222.041440-11.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-sharding-jdbc/2.2-SNAPSHOT/nutzboot-starter-sharding-jdbc-2.2-20180222.034407-78.jar:/Users/lambert.liu/.m2/repository/io/shardingjdbc/sharding-jdbc-core/2.0.3/sharding-jdbc-core-2.0.3.jar:/Users/lambert.liu/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/Users/lambert.liu/.m2/repository/org/codehaus/groovy/groovy/2.4.5/groovy-2.4.5-indy.jar:/Users/lambert.liu/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-nutz-mvc/2.2-SNAPSHOT/nutzboot-starter-nutz-mvc-2.2-20180222.034417-75.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-nutz-dao/2.2-SNAPSHOT/nutzboot-starter-nutz-dao-2.2-20180222.034353-85.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-redis/2.2-SNAPSHOT/nutzboot-starter-redis-2.2-20180222.034402-78.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-integration-jedis/1.r.66-SNAPSHOT/nutz-integration-jedis-1.r.66-20180222.041358-11.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-quartz/2.2-SNAPSHOT/nutzboot-starter-quartz-2.2-20180222.034400-79.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-weixin/2.2-SNAPSHOT/nutzboot-starter-weixin-2.2-20180222.034359-80.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-ureport/2.2-SNAPSHOT/nutzboot-starter-ureport-2.2-20180222.034436-73.jar:/Users/lambert.liu/.m2/repository/com/bstek/ureport/ureport2-console/2.2.4/ureport2-console-2.2.4.jar:/Users/lambert.liu/.m2/repository/commons-fileupload/commons-fileupload/1.3.2/commons-fileupload-1.3.2.jar:/Users/lambert.liu/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/Users/lambert.liu/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar:/Users/lambert.liu/.m2/repository/com/bstek/ureport/ureport2-core/2.2.4/ureport2-core-2.2.4.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-web/4.3.14.RELEASE/spring-web-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-aop/4.3.14.RELEASE/spring-aop-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-beans/4.3.14.RELEASE/spring-beans-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-context/4.3.14.RELEASE/spring-context-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-expression/4.3.14.RELEASE/spring-expression-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-core/4.3.14.RELEASE/spring-core-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-jdbc/4.3.14.RELEASE/spring-jdbc-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/org/springframework/spring-tx/4.3.14.RELEASE/spring-tx-4.3.14.RELEASE.jar:/Users/lambert.liu/.m2/repository/com/itextpdf/itextpdf/5.5.10/itextpdf-5.5.10.jar:/Users/lambert.liu/.m2/repository/org/apache/poi/poi-scratchpad/3.16/poi-scratchpad-3.16.jar:/Users/lambert.liu/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.11/jackson-mapper-asl-1.9.11.jar:/Users/lambert.liu/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.11/jackson-core-asl-1.9.11.jar:/Users/lambert.liu/.m2/repository/com/bstek/ureport/ureport2-font/2.0.1/ureport2-font-2.0.1.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-integration-spring/1.r.66-SNAPSHOT/nutz-integration-spring-1.r.66-20180222.041409-11.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-wkcache/2.2-SNAPSHOT/nutzboot-starter-wkcache-2.2-20180222.034402-78.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-plugins-wkcache/1.r.66-SNAPSHOT/nutz-plugins-wkcache-1.r.66-20180222.041441-11.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-starter-feign/2.2-SNAPSHOT/nutzboot-starter-feign-2.2-20180222.034414-77.jar:/Users/lambert.liu/.m2/repository/io/github/openfeign/feign-core/9.5.1/feign-core-9.5.1.jar:/Users/lambert.liu/.m2/repository/io/github/openfeign/feign-slf4j/9.5.1/feign-slf4j-9.5.1.jar:/Users/lambert.liu/.m2/repository/io/github/openfeign/feign-hystrix/9.5.1/feign-hystrix-9.5.1.jar:/Users/lambert.liu/.m2/repository/com/netflix/archaius/archaius-core/0.6.6/archaius-core-0.6.6.jar:/Users/lambert.liu/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar:/Users/lambert.liu/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar:/Users/lambert.liu/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar:/Users/lambert.liu/.m2/repository/com/netflix/hystrix/hystrix-core/1.5.12/hystrix-core-1.5.12.jar:/Users/lambert.liu/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.9/HdrHistogram-2.1.9.jar:/Users/lambert.liu/.m2/repository/io/github/openfeign/feign-ribbon/9.5.1/feign-ribbon-9.5.1.jar:/Users/lambert.liu/.m2/repository/com/netflix/ribbon/ribbon-loadbalancer/2.2.4/ribbon-loadbalancer-2.2.4.jar:/Users/lambert.liu/.m2/repository/com/netflix/netflix-commons/netflix-statistics/0.1.1/netflix-statistics-0.1.1.jar:/Users/lambert.liu/.m2/repository/io/reactivex/rxjava/1.1.1/rxjava-1.1.1.jar:/Users/lambert.liu/.m2/repository/com/netflix/servo/servo-core/0.10.1/servo-core-0.10.1.jar:/Users/lambert.liu/.m2/repository/com/netflix/servo/servo-internal/0.10.1/servo-internal-0.10.1.jar:/Users/lambert.liu/.m2/repository/com/netflix/netflix-commons/netflix-commons-util/0.1.1/netflix-commons-util-0.1.1.jar:/Users/lambert.liu/.m2/repository/com/netflix/ribbon/ribbon-core/2.2.4/ribbon-core-2.2.4.jar:/Users/lambert.liu/.m2/repository/com/google/code/findbugs/annotations/2.0.0/annotations-2.0.0.jar:/Users/lambert.liu/.m2/repository/commons-configuration/commons-configuration/1.8/commons-configuration-1.8.jar:/Users/lambert.liu/.m2/repository/mysql/mysql-connector-java/5.1.44/mysql-connector-java-5.1.44.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-plugins-slog/1.r.62/nutz-plugins-slog-1.r.62.jar:/Users/lambert.liu/.m2/repository/org/projectlombok/lombok/1.14.4/lombok-1.14.4.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz/1.r.65/nutz-1.r.65.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzwx/1.r.62/nutzwx-1.r.62.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-plugins-daocache/1.r.62/nutz-plugins-daocache-1.r.62.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-integration-quartz/1.r.59/nutz-integration-quartz-1.r.59.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutz-integration-shiro/1.r.59/nutz-integration-shiro-1.r.59.jar:/Users/lambert.liu/.m2/repository/com/vdurmont/emoji-java/3.1.3/emoji-java-3.1.3.jar:/Users/lambert.liu/.m2/repository/org/quartz-scheduler/quartz/2.2.3/quartz-2.2.3.jar:/Users/lambert.liu/.m2/repository/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1.jar:/Users/lambert.liu/.m2/repository/org/apache/shiro/shiro-web/1.2.5/shiro-web-1.2.5.jar:/Users/lambert.liu/.m2/repository/org/apache/shiro/shiro-core/1.2.5/shiro-core-1.2.5.jar:/Users/lambert.liu/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar:/Users/lambert.liu/.m2/repository/org/slf4j/slf4j-log4j12/1.7.21/slf4j-log4j12-1.7.21.jar:/Users/lambert.liu/.m2/repository/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar:/Users/lambert.liu/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/lambert.liu/.m2/repository/cn/apiclub/tool/simplecaptcha/1.2.2/simplecaptcha-1.2.2.jar:/Users/lambert.liu/.m2/repository/com/alibaba/druid/1.0.22/druid-1.0.22.jar:/Users/lambert.liu/.m2/repository/net/sourceforge/jtds/jtds/1.3.1/jtds-1.3.1.jar:/Users/lambert.liu/.m2/repository/com/google/zxing/javase/3.2.1/javase-3.2.1.jar:/Users/lambert.liu/.m2/repository/com/google/zxing/core/3.2.1/core-3.2.1.jar:/Users/lambert.liu/.m2/repository/com/beust/jcommander/1.48/jcommander-1.48.jar:/Users/lambert.liu/.m2/repository/net/sf/ehcache/ehcache/2.10.2.2.21/ehcache-2.10.2.2.21.jar:/Users/lambert.liu/.m2/repository/redis/clients/jedis/2.8.1/jedis-2.8.1.jar:/Users/lambert.liu/.m2/repository/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar:/Users/lambert.liu/.m2/repository/org/apache/commons/commons-email/1.4/commons-email-1.4.jar:/Users/lambert.liu/.m2/repository/com/sun/mail/javax.mail/1.5.5/javax.mail-1.5.5.jar:/Users/lambert.liu/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/Users/lambert.liu/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar:/Users/lambert.liu/.m2/repository/org/apache/shiro/shiro-all/1.2.5/shiro-all-1.2.5.jar:/Users/lambert.liu/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar:/Users/lambert.liu/.m2/repository/com/ibeetl/beetl/2.5.0/beetl-2.5.0.jar:/Users/lambert.liu/.m2/repository/org/antlr/antlr4-runtime/4.2/antlr4-runtime-4.2.jar:/Users/lambert.liu/.m2/repository/org/abego/treelayout/org.abego.treelayout.core/1.0.1/org.abego.treelayout.core-1.0.1.jar:/Users/lambert.liu/.m2/repository/org/antlr/antlr4-annotations/4.2/antlr4-annotations-4.2.jar:/Users/lambert.liu/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/lambert.liu/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/lambert.liu/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/Users/lambert.liu/.m2/repository/org/brickred/socialauth/4.12/socialauth-4.12.jar:/Users/lambert.liu/.m2/repository/org/json/json/20160212/json-20160212.jar:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-core/2.2-SNAPSHOT/nutzboot-core-2.2-20180222.034345-86.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar" demo.MainLauncher
Connected to the target VM, address: '127.0.0.1:62082', transport: 'socket'
[INFO ] 17:22:37.998 org.nutz.boot.banner.SimpleBannerPrinter.printBanner(SimpleBannerPrinter.java:34) -
_ _ ______ ___
| \ | || ___ \ ______ ______ ______ ______ ______| \ \
| \| || |_/ / |______|______|______|______|______| |\ \
| . ` || ___ \ ______ ______ ______ ______ ______| | > >
| |\ || |_/ / |______|______|______|______|______| |/ /
\_| \_/\____/ |_/_/
:: Nutz Boot :: (2.1.2)
[INFO ] 17:22:38.019 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) - [loc=/Users/lambert.liu/Documents/productFile/yiyun/4%e6%ba%90%e4%bb%a3%e7%a0%81/CreditsMall/yan/target/classes]not exist
[DEBUG] 17:22:38.223 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=232 time use 207ms
[DEBUG] 17:22:38.252 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( custom/ ) , regex( ^.+[.]properties$ )
[DEBUG] 17:22:38.252 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from jar:file:/Users/lambert.liu/.m2/repository/org/nutz/nutzboot-core/2.2-SNAPSHOT/nutzboot-core-2.2-20180222.034345-86.jar!/custom/emtry.properties
[DEBUG] 17:22:38.262 org.nutz.boot.config.impl.PropertiesConfigureLoader.init(PropertiesConfigureLoader.java:39) - load /Users/lambert.liu/Documents/productFile/yiyun/4源代码/CreditsMall/yan/target/classes/application.properties
[DEBUG] 17:22:38.313 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 17:22:38.314 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [emtry.json]
[DEBUG] 17:22:38.315 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[ioc/] --> []
[DEBUG] 17:22:38.452 org.nutz.castor.Castors.reload(Castors.java:115) - Using 95 castor for Castors
[DEBUG] 17:22:38.495 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
[INFO ] 17:22:38.508 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) - > scan 'demo'
[DEBUG] 17:22:38.516 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( demo/ ) , regex( ^.+[.]class$ )
[INFO ] 17:22:38.517 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'mainLauncher ' - demo.MainLauncher
[INFO ] 17:22:38.535 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) - > scan 'org.nutz.boot.starter'
[DEBUG] 17:22:38.540 org.nutz.resource.Scans.scan(Scans.java:280) - Found 26 resource by src( org/nutz/boot/starter/ ) , regex( ^.+[.]class$ )
[INFO ] 17:22:38.574 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'jettyStarter ' - org.nutz.boot.starter.jetty.JettyStarter
[INFO ] 17:22:38.592 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'shardingJdbcDataSourceStarter ' - org.nutz.boot.starter.shardingjdbc.ShardingJdbcDataSourceStarter
[DEBUG] 17:22:38.593 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : ShardingJdbcDataSourceStarter.getDataSource(...) define as name=dataSource
[INFO ] 17:22:38.598 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'nutFilterStarter ' - org.nutz.boot.starter.nutz.mvc.NutFilterStarter
[ERROR] 17:22:38.600 org.nutz.boot.NbApp.run(NbApp.java:173) - something happen
java.lang.NoClassDefFoundError: javax/servlet/DispatcherType
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.nutz.lang.Mirror._getFields(Mirror.java:557)
at org.nutz.lang.Mirror.getFields(Mirror.java:535)
at org.nutz.lang.Mirror.getFields(Mirror.java:521)
at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:125)
at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:52)
at org.nutz.boot.NbApp.prepareIocLoader(NbApp.java:345)
at org.nutz.boot.NbApp.prepare(NbApp.java:232)
at org.nutz.boot.NbApp._run(NbApp.java:184)
at org.nutz.boot.NbApp.run(NbApp.java:170)
at demo.MainLauncher.main(MainLauncher.java:40)
Caused by: java.lang.ClassNotFoundException: javax.servlet.DispatcherType
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 13 more
Disconnected from the target VM, address: '127.0.0.1:62082', transport: 'socket'
Process finished with exit code 0
maven内容:
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>Credits</artifactId>
<groupId>com.timemans</groupId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>yan</artifactId>
<dependencies>
<dependency>
<groupId>com.timemans</groupId>
<artifactId>common</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>com.timemans</groupId>
<artifactId>services</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-sharding-jdbc</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-redis</artifactId>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-quartz</artifactId>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-weixin</artifactId>
<version>${nutzboot.version}</version>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-ureport</artifactId>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-wkcache</artifactId>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-feign</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.44</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/nutz/org.nutz.boot.starter.NbStarter</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>io.nutz.demo.simple.MainLauncher</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
shardingjdbc.yaml
dataSources:
ds_0: !!com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://120.79.23.0:3306/test?useUnicode=true&characterEncoding=UTF8
username: root
password: root
ds_1: !!com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://localhost:3306/ds_1
username: root
password: root
shardingRule:
tables:
t_order:
actualDataNodes: ds_${0..1}.t_order_${0..1}
databaseStrategy:
inline:
shardingColumn: user_id
algorithmExpression: ds_${user_id % 2}
tableStrategy:
inline:
shardingColumn: order_id
algorithmExpression: t_order_${order_id % 2}