java 9 Spring Cloud @EnableEurekaServer javax.xml.bind.JAXBContext not present
java 9 Spring Cloud @EnableEurekaServer javax.xml.bind.JAXBContext not present
jdk 8下面还可以正常启动,jdk9下面就报错了:
D:\Java\jdk-9.0.4\bin\java -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=62512 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\Java\JetBrains\IntelliJIDEA2017.3.2\lib\idea_rt.jar=62513:D:\Java\JetBrains\IntelliJIDEA2017.3.2\bin -Dfile.encoding=UTF-8 -classpath D:\Java\IdeaProjects\microservice-discovery-eureka02\target\classes;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-eureka-server\1.4.3.RELEASE\spring-cloud-starter-eureka-server-1.4.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-server\1.4.3.RELEASE\spring-cloud-starter-netflix-eureka-server-1.4.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter\1.3.2.RELEASE\spring-cloud-starter-1.3.2.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter\1.5.10.RELEASE\spring-boot-starter-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-logging\1.5.10.RELEASE\spring-boot-starter-logging-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-context\1.3.2.RELEASE\spring-cloud-context-1.3.2.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\security\spring-security-crypto\4.2.4.RELEASE\spring-security-crypto-4.2.4.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-commons\1.3.2.RELEASE\spring-cloud-commons-1.3.2.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;E:\apache-maven-3.3.9-bin\Local_repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\bouncycastle\bcpkix-jdk15on\1.55\bcpkix-jdk15on-1.55.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\bouncycastle\bcprov-jdk15on\1.55\bcprov-jdk15on-1.55.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-eureka-server\1.4.3.RELEASE\spring-cloud-netflix-eureka-server-1.4.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-web\1.5.10.RELEASE\spring-boot-starter-web-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.10.RELEASE\spring-boot-starter-tomcat-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.27\tomcat-embed-core-8.5.27.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\tomcat-annotations-api\8.5.27\tomcat-annotations-api-8.5.27.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.27\tomcat-embed-el-8.5.27.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tomcat-embed-websocket-8.5.27.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\hibernate\hibernate-validator\5.3.6.Final\hibernate-validator-5.3.6.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-web\4.3.14.RELEASE\spring-web-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-webmvc\4.3.14.RELEASE\spring-webmvc-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-actuator\1.5.10.RELEASE\spring-boot-starter-actuator-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-actuator\1.5.10.RELEASE\spring-boot-actuator-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-freemarker\1.5.10.RELEASE\spring-boot-starter-freemarker-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\freemarker\freemarker\2.3.27-incubating\freemarker-2.3.27-incubating.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-context-support\4.3.14.RELEASE\spring-context-support-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-core\1.4.3.RELEASE\spring-cloud-netflix-core-1.4.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.4.3.RELEASE\spring-cloud-netflix-eureka-client-1.4.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\eureka\eureka-client\1.7.0\eureka-client-1.7.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;E:\apache-maven-3.3.9-bin\Local_repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;E:\apache-maven-3.3.9-bin\Local_repository\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;E:\apache-maven-3.3.9-bin\Local_repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-servlet\1.19.1\jersey-servlet-1.19.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-server\1.19.1\jersey-server-1.19.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\eureka\eureka-core\1.7.0\eureka-core-1.7.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\javax\inject\javax.inject\1\javax.inject-1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.8.10\jackson-dataformat-xml-2.8.10.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.8.10\jackson-module-jaxb-annotations-2.8.10.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\thoughtworks\xstream\xstream\1.4.9\xstream-1.4.9.jar;E:\apache-maven-3.3.9-bin\Local_repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\1.4.3.RELEASE\spring-cloud-starter-netflix-archaius-1.4.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;E:\apache-maven-3.3.9-bin\Local_repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\google\guava\guava\18.0\guava-18.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\1.4.3.RELEASE\spring-cloud-starter-netflix-ribbon-1.4.3.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon\2.2.4\ribbon-2.2.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-transport\2.2.4\ribbon-transport-2.2.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-core\2.2.4\ribbon-core-2.2.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-httpclient\2.2.4\ribbon-httpclient-2.2.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-loadbalancer\2.2.4\ribbon-loadbalancer-2.2.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxjava\1.2.0\rxjava-1.2.0.jar;E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-eureka\2.2.4\ribbon-eureka-2.2.4.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot\1.5.10.RELEASE\spring-boot-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-context\4.3.14.RELEASE\spring-context-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-aop\4.3.14.RELEASE\spring-aop-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-beans\4.3.14.RELEASE\spring-beans-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-expression\4.3.14.RELEASE\spring-expression-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-autoconfigure\1.5.10.RELEASE\spring-boot-autoconfigure-1.5.10.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-core\4.3.14.RELEASE\spring-core-4.3.14.RELEASE.jar;E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar com.stono.microservicediscoveryeureka02.MicroserviceDiscoveryEureka02Application
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/E:/apache-maven-3.3.9-bin/Local_repository/org/springframework/spring-core/4.3.14.RELEASE/spring-core-4.3.14.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release . ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.10.RELEASE) [2018-02-12 17:00:36.328] - 13236 信息 [main] --- org.apache.catalina.core.StandardService: Starting service [Tomcat]
[2018-02-12 17:00:36.344] - 13236 信息 [main] --- org.apache.catalina.core.StandardEngine: Starting Servlet Engine: Apache Tomcat/8.5.27
[2018-02-12 17:00:36.465] - 13236 信息 [localhost-startStop-1] --- org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext
[2018-02-12 17:00:37.021] - 13236 信息 [localhost-startStop-1] --- com.sun.jersey.server.impl.application.WebApplicationImpl: Initiating Jersey application, version 'Jersey: 1.19.1 03/11/2016 02:08 PM'
[2018-02-12 17:00:37.086] - 13236 严重 [localhost-startStop-1] --- org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Exception starting filter [servletContainer]
java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present
at java.base/sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:117)
at java.base/sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
at java.base/sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
at java.base/sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:68)
at java.base/sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:138)
at java.base/sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
at java.base/sun.reflect.generics.repository.ClassRepository.computeSuperInterfaces(ClassRepository.java:117)
at java.base/sun.reflect.generics.repository.ClassRepository.getSuperInterfaces(ClassRepository.java:95)
at java.base/java.lang.Class.getGenericInterfaces(Class.java:1112)
at com.sun.jersey.core.reflection.ReflectionHelper.getClass(ReflectionHelper.java:629)
at com.sun.jersey.core.reflection.ReflectionHelper.getClass(ReflectionHelper.java:625)
at com.sun.jersey.core.spi.factory.ContextResolverFactory.getParameterizedType(ContextResolverFactory.java:202)
at com.sun.jersey.core.spi.factory.ContextResolverFactory.init(ContextResolverFactory.java:89)
at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1332)
at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:180)
at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:799)
at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:795)
at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790)
at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:509)
at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:339)
at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:605)
at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207)
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394)
at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:744)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:112)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4591)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:375)
at java.base/sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
... 36 more [2018-02-12 17:00:37.089] - 13236 严重 [localhost-startStop-1] --- org.apache.catalina.core.StandardContext: One or more Filters failed to start. Full details will be found in the appropriate container log file
[2018-02-12 17:00:37.089] - 13236 严重 [localhost-startStop-1] --- org.apache.catalina.core.StandardContext: Context [] startup failed due to previous errors
Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at com.stono.microservicediscoveryeureka02.MicroserviceDiscoveryEureka02Application.main(MicroserviceDiscoveryEureka02Application.java:12)
Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:123)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer.java:84)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:554)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:179)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)
... 8 more
Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.rethrowDeferredStartupExceptions(TomcatEmbeddedServletContainer.java:167)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:102)
... 13 more Process finished with exit code 1
学习了:https://my.oschina.net/anur/blog/1620794 膜拜一下
找到:https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j
我采用了:
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
可以正常运行了;
因为JAXB-API是java ee的一部分,在jdk9中没有在默认的类路径中;
java ee api在jdk中还是存在的,默认没有加载而已,jdk9中引入了模块的概念,可以使用
模块命令--add-modles java.xml.bind引入jaxb-api;
这些模块默认没有加入:
java.activation
java.corba
java.transaction
java.xml.bind << This one contains the JAXB APIs
java.xml.ws
java.xml.ws.annotation
注意两次启动的时候加载的jar包是不一样的;
没有引入JAXB-API的:
D:\Java\jdk-9.0.4\bin\java -XX:TieredStopAtLevel=1 -noverify
-Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=62512
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain
-Dspring.application.admin.enabled=true
-javaagent:D:\Java\JetBrains\IntelliJIDEA2017.3.2\lib\idea_rt.jar=62513:
D:\Java\JetBrains\IntelliJIDEA2017.3.2\bin -Dfile.encoding=UTF-8 -classpath
D:\Java\IdeaProjects\microservice-discovery-eureka02\target\classes;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-eureka-server\1.4.3.RELEASE\spring-cloud-starter-eureka-server-1.4.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-server\1.4.3.RELEASE\spring-cloud-starter-netflix-eureka-server-1.4.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter\1.3.2.RELEASE\spring-cloud-starter-1.3.2.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter\1.5.10.RELEASE\spring-boot-starter-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-logging\1.5.10.RELEASE\spring-boot-starter-logging-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-context\1.3.2.RELEASE\spring-cloud-context-1.3.2.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\security\spring-security-crypto\4.2.4.RELEASE\spring-security-crypto-4.2.4.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-commons\1.3.2.RELEASE\spring-cloud-commons-1.3.2.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\bouncycastle\bcpkix-jdk15on\1.55\bcpkix-jdk15on-1.55.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\bouncycastle\bcprov-jdk15on\1.55\bcprov-jdk15on-1.55.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-eureka-server\1.4.3.RELEASE\spring-cloud-netflix-eureka-server-1.4.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-web\1.5.10.RELEASE\spring-boot-starter-web-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.10.RELEASE\spring-boot-starter-tomcat-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.27\tomcat-embed-core-8.5.27.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\tomcat-annotations-api\8.5.27\tomcat-annotations-api-8.5.27.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.27\tomcat-embed-el-8.5.27.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tomcat-embed-websocket-8.5.27.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\hibernate\hibernate-validator\5.3.6.Final\hibernate-validator-5.3.6.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-web\4.3.14.RELEASE\spring-web-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-webmvc\4.3.14.RELEASE\spring-webmvc-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-actuator\1.5.10.RELEASE\spring-boot-starter-actuator-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-actuator\1.5.10.RELEASE\spring-boot-actuator-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-freemarker\1.5.10.RELEASE\spring-boot-starter-freemarker-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\freemarker\freemarker\2.3.27-incubating\freemarker-2.3.27-incubating.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-context-support\4.3.14.RELEASE\spring-context-support-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-core\1.4.3.RELEASE\spring-cloud-netflix-core-1.4.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.4.3.RELEASE\spring-cloud-netflix-eureka-client-1.4.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\eureka\eureka-client\1.7.0\eureka-client-1.7.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;
E:\apache-maven-3.3.9-bin\Local_repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;
E:\apache-maven-3.3.9-bin\Local_repository\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-servlet\1.19.1\jersey-servlet-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-server\1.19.1\jersey-server-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\eureka\eureka-core\1.7.0\eureka-core-1.7.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\inject\javax.inject\1\javax.inject-1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.8.10\jackson-dataformat-xml-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.8.10\jackson-module-jaxb-annotations-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\thoughtworks\xstream\xstream\1.4.9\xstream-1.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\1.4.3.RELEASE\spring-cloud-starter-netflix-archaius-1.4.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\guava\guava\18.0\guava-18.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\1.4.3.RELEASE\spring-cloud-starter-netflix-ribbon-1.4.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon\2.2.4\ribbon-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-transport\2.2.4\ribbon-transport-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-core\2.2.4\ribbon-core-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-httpclient\2.2.4\ribbon-httpclient-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-loadbalancer\2.2.4\ribbon-loadbalancer-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxjava\1.2.0\rxjava-1.2.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-eureka\2.2.4\ribbon-eureka-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot\1.5.10.RELEASE\spring-boot-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-context\4.3.14.RELEASE\spring-context-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-aop\4.3.14.RELEASE\spring-aop-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-beans\4.3.14.RELEASE\spring-beans-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-expression\4.3.14.RELEASE\spring-expression-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-autoconfigure\1.5.10.RELEASE\spring-boot-autoconfigure-1.5.10.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-core\4.3.14.RELEASE\spring-core-4.3.14.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar com.stono.microservicediscoveryeureka02.MicroserviceDiscoveryEureka02Application
引入了JAXB-API的:
D:\Java\jdk-9.0.4\bin\java -XX:TieredStopAtLevel=1 -noverify
-Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=65483
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain
-Dspring.application.admin.enabled=true
-javaagent:D:\Java\JetBrains\IntelliJIDEA2017.3.2\lib\idea_rt.jar=65484:
D:\Java\JetBrains\IntelliJIDEA2017.3.2\bin -Dfile.encoding=UTF-8 -classpath
D:\Java\IdeaProjects\microservice-discovery-eureka\target\classes;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-eureka-server\1.4.0.RELEASE\spring-cloud-starter-eureka-server-1.4.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-server\1.4.0.RELEASE\spring-cloud-starter-netflix-eureka-server-1.4.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter\1.3.0.RELEASE\spring-cloud-starter-1.3.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter\1.5.9.RELEASE\spring-boot-starter-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-logging\1.5.9.RELEASE\spring-boot-starter-logging-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-context\1.3.0.RELEASE\spring-cloud-context-1.3.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\security\spring-security-crypto\4.2.3.RELEASE\spring-security-crypto-4.2.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-commons\1.3.0.RELEASE\spring-cloud-commons-1.3.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\httpcomponents\httpcore\4.4.8\httpcore-4.4.8.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\bouncycastle\bcpkix-jdk15on\1.55\bcpkix-jdk15on-1.55.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\bouncycastle\bcprov-jdk15on\1.55\bcprov-jdk15on-1.55.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-eureka-server\1.4.0.RELEASE\spring-cloud-netflix-eureka-server-1.4.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-web\1.5.9.RELEASE\spring-boot-starter-web-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.9.RELEASE\spring-boot-starter-tomcat-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.23\tomcat-embed-core-8.5.23.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\tomcat-annotations-api\8.5.23\tomcat-annotations-api-8.5.23.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.23\tomcat-embed-el-8.5.23.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.23\tomcat-embed-websocket-8.5.23.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\hibernate\hibernate-validator\5.3.6.Final\hibernate-validator-5.3.6.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-web\4.3.13.RELEASE\spring-web-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-webmvc\4.3.13.RELEASE\spring-webmvc-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-actuator\1.5.9.RELEASE\spring-boot-starter-actuator-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-actuator\1.5.9.RELEASE\spring-boot-actuator-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-starter-freemarker\1.5.9.RELEASE\spring-boot-starter-freemarker-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\freemarker\freemarker\2.3.27-incubating\freemarker-2.3.27-incubating.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-context-support\4.3.13.RELEASE\spring-context-support-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-core\1.4.0.RELEASE\spring-cloud-netflix-core-1.4.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.4.0.RELEASE\spring-cloud-netflix-eureka-client-1.4.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\eureka\eureka-client\1.7.0\eureka-client-1.7.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;
E:\apache-maven-3.3.9-bin\Local_repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;
E:\apache-maven-3.3.9-bin\Local_repository\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-servlet\1.19.1\jersey-servlet-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\jersey\jersey-server\1.19.1\jersey-server-1.19.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\eureka\eureka-core\1.7.0\eureka-core-1.7.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\inject\javax.inject\1\javax.inject-1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.8.10\jackson-dataformat-xml-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.8.10\jackson-module-jaxb-annotations-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\thoughtworks\xstream\xstream\1.4.9\xstream-1.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\1.4.0.RELEASE\spring-cloud-starter-netflix-archaius-1.4.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\google\guava\guava\18.0\guava-18.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\1.4.0.RELEASE\spring-cloud-starter-netflix-ribbon-1.4.0.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon\2.2.4\ribbon-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-transport\2.2.4\ribbon-transport-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-core\2.2.4\ribbon-core-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-httpclient\2.2.4\ribbon-httpclient-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-loadbalancer\2.2.4\ribbon-loadbalancer-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\io\reactivex\rxjava\1.2.0\rxjava-1.2.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\netflix\ribbon\ribbon-eureka\2.2.4\ribbon-eureka-2.2.4.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot\1.5.9.RELEASE\spring-boot-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-context\4.3.13.RELEASE\spring-context-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-aop\4.3.13.RELEASE\spring-aop-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-beans\4.3.13.RELEASE\spring-beans-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-expression\4.3.13.RELEASE\spring-expression-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\boot\spring-boot-autoconfigure\1.5.9.RELEASE\spring-boot-autoconfigure-1.5.9.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\springframework\spring-core\4.3.13.RELEASE\spring-core-4.3.13.RELEASE.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\xml\bind\jaxb-api\2.3.0\jaxb-api-2.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\xml\bind\jaxb-impl\2.3.0\jaxb-impl-2.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\glassfish\jaxb\jaxb-runtime\2.3.0\jaxb-runtime-2.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\glassfish\jaxb\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\glassfish\jaxb\txw2\2.3.0\txw2-2.3.0.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\istack\istack-commons-runtime\3.0.5\istack-commons-runtime-3.0.5.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\jvnet\staxex\stax-ex\1.7.8\stax-ex-1.7.8.jar;
E:\apache-maven-3.3.9-bin\Local_repository\com\sun\xml\fastinfoset\FastInfoset\1.2.13\FastInfoset-1.2.13.jar;
E:\apache-maven-3.3.9-bin\Local_repository\javax\activation\activation\1.1.1\activation-1.1.1.jar;
E:\apache-maven-3.3.9-bin\Local_repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar com.stono.microservicediscoveryeureka.MicroserviceDiscoveryEurekaApplication
java 9 Spring Cloud @EnableEurekaServer javax.xml.bind.JAXBContext not present的更多相关文章
- Spring学习记录-Java 11运行eureka-server报javax.xml.bind.JAXBContext not present错
在pom.xml加入依赖就行 <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId&g ...
- java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present错误
今天在搭建spring cloud的时候,发现一直报“java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not pr ...
- SpringCloud启动Eureka server时报错 java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present
SpringBoot打开Eureka server时出现以下错误: java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext ...
- 报错----运行springboot项目出现:Type javax.xml.bind.JAXBContext not present
目的:运行springboot项目出现:Type javax.xml.bind.JAXBContext not present 环境: 问题:运行springboot项目出现:Type javax.x ...
- java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present解决方案
因为JAXB-API是java ee的一部分,在jdk9中没有在默认的类路径中: java ee api在jdk中还是存在的,默认没有加载而已,jdk9中引入了模块的概念,可以使用 模块命令--add ...
- jdk10运行springboot项目出现:Type javax.xml.bind.JAXBContext not present
项目由openjdk8.0迁移到jdk10导致的 原因:java9模块化的概念使得JAXB默认没有加载: jaxb-api是存在jdk中的,只是默认没有加载而已,手动引入即可. 推荐方式: <! ...
- java 11 已移除 javax.xml.bind
@SneakyThrows public static <T> String convertToXml(T obj) { require(obj); JAXBContext jaxbCon ...
- Caused by: java.lang.ClassNotFoundException: javax.xml.bind.Validation
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.Validation JAXB API是java EE 的API,因此在java ...
- 真正解决方案:java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
今天在使用JDK 12.0 环境下使用Hibernate 时候出现了这个错误,错误日志如下: 故障原因: JAXB API是java EE 的API,因此在java SE 9.0 中不再包含这个 Ja ...
随机推荐
- cmd执行Java程序
先创建一个文本,里面内容为 public class hello{ public static void main(String[] arg) { System.out.println("H ...
- DFS知识点
2019-06-01 11:14:34 加油,坚持!!! 1. 2. 3.
- HTML--使用mailto在网页中链接Email地址
<a>标签还有一个作用是可以链接Email地址,使用mailto能让访问者便捷向网站管理者发送电子邮件.我们还可以利用mailto做许多其它事情.下面一一进行讲解,请看详细图示: 注意:如 ...
- what is success?
什么是成功?这是个老话题了.然而每个人对成功的认识却也不同.记得央视主持人王志说过成功是相对的,每个人都有自己的成功标准.有的人认为有钱.有房.有车.有女人,就是成功.有的人则认为成功是你做了一件你想 ...
- Coursera公开课-Machine_learing:编程作业
第二周编程作业:Linear Regression 分为单一变量和多变量,假想函数为:hθ(x)=θ0+θ1x1+θ2x2+θ3x3+⋯+θnxn.明显已经包含单一变量的情况,所以完成多变量可以一并解 ...
- jenkinsfile or pipline 实现微服务自动发布回滚流程
1 #!/usr/bin/env groovy Jenkinsfile node { //服务名称 def service_name = "**" //包名 def service ...
- node.js安装步骤
首先这是node.js的官网:https://nodejs.org/en/ 截至2017年12月9日,node更新在8.9.3该版本,建议开发人员下载6.0以上版本,8以上不是很稳定! 如果有其他需 ...
- sqlserver 批量更新
select * from [LPicture] UPDATE [dbo].[LPicture] SET [picGroup] = ' WHERE LPictureid ,); select * fr ...
- CentOS安装Nodejs-v8.11.1
(1)到NodeJs官网(https://nodejs.org/en/download/),复制下载链接 (2)下载并解压 命令:wget https://nodejs.org/dist/v8.11. ...
- Python之进程 基础知识 上
阅读目录 理论知识 操作系统背景知识 什么是进程 进程调度 进程的并发与并行 同步\异步\阻塞\非阻塞 进程的创建与结束 在python程序中的进程操作 multiprocess模块 进程的创建和mu ...