简体   繁体   English

安装JHipster注册表错误:在模块路径或类路径上未找到JAXB-API的实现

[英]Install JHipster Registry error: Implementation of JAXB-API has not been found on module path or classpath

I try to install JHipster Registry https://github.com/jhipster/jhipster-registry 我尝试安装JHipster Registry https://github.com/jhipster/jhipster-registry

I have installed java, node, Yeoman, yarn and windows-build-tools. 我已经安装了java,node,Yeoman,yarn和Windows-build-tools。 When I try to use comand mvnw on this application I have this error: 当我尝试在此应用程序上使用comand mvnw时,出现以下错误:

I tried t0 reinstall webpack, but same error... 我尝试过t0重新安装webpack,但是同样的错误...

2019-04-08 11:35:54.186 ERROR 10072 --- [  restartedMain] c.s.j.s.i.w.WadlApplicationContextImpl   : Implementation of JAXB-API has not been found on module path or classpath.

javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:177)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:364)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:508)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:465)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:366)
        at com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:107)
        at com.sun.jersey.server.impl.wadl.WadlFactory.init(WadlFactory.java:100)
        at com.sun.jersey.server.impl.application.RootResourceUriRules.initWadl(RootResourceUriRules.java:169)
        at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:106)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1359)
        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 io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:111)
        at io.undertow.servlet.core.ManagedFilter.createFilter(ManagedFilter.java:80)
        at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:589)
        at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:554)
        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
        at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:596)
        at org.springframework.boot.web.embedded.undertow.UndertowServletWebServer.createUndertowServer(UndertowServletWebServer.java:200)
        at org.springframework.boot.web.embedded.undertow.UndertowServletWebServer.start(UndertowServletWebServer.java:143)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.startWebServer(ServletWebServerApplicationContext.java:311)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:164)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
        at io.github.jhipster.registry.JHipsterRegistryApp.main(JHipsterRegistryApp.java:72)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        at org.springframework.boot.devtools.restart.classloader.RestartClassLoader.loadClass(RestartClassLoader.java:148)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        at javax.xml.bind.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:122)
        at javax.xml.bind.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:155)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:174)
        ... 43 common frames omitted

My guess is you're using Java 11, and only Java 8 is supported by the current version of JHipster Registry. 我的猜测是您正在使用Java 11,并且当前版本的JHipster Registry仅支持Java 8。 If you use Java 8, everything should work as expected. 如果您使用Java 8,则所有功能均应按预期工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在模块路径或类路径上找不到 JAXB-API - JAXB-API has not been found on module path or classpath Java 在模块路径或类路径上未找到 JAXB-API 的实现 - Java Implementation of JAXB-API has not been found on module path or classpath Wildfly 20 升级和 OpenJRE 8 - 在模块路径或类路径上未找到 JAXB-API 的实现 - Wildfly 20 Upgrade and OpenJRE 8 - Implementation of JAXB-API has not been found on module path or classpath Java 11:在模块路径或类路径上未找到 JAXB-API 的实现 - Java 11: Implementation of JAXB-API has not been found on module path or classpath JDK17 + Spring Boot Starter Web 服务:在模块路径或类路径上未找到 JAXB-API 的实现 - JDK17 + Spring Boot Starter Web Services: Implementation of JAXB-API has not been found on module path or classpath 我的 Eclipse 插件没有找到 JAXB-API 的实现 - Implementation of JAXB-API has not been found by my Eclipse plugin 未找到 JAXB-API 的实现(运行 java jar 时) - Implementation of JAXB-API has not been found(when running java jar) Apache Karaf 4.3.7 JAXB jakarta.xml.bind.JAXBException: Implementation of Jakarta XML Binding-API has not been found on module path or classpath - Apache Karaf 4.3.7 JAXB jakarta.xml.bind.JAXBException: Implementation of Jakarta XML Binding-API has not been found on module path or classpath Docker:由于未找到 JAXB-API,Jenkins-jdk11 无法连接到 Nexus - Docker: Jenkins-jdk11 fails to connect to Nexus due to JAXB-API has not been found 解组两个 XML 字符串时 JAXB 出现奇怪错误,一个成功,另一个失败并出现 JAXBException:未找到 JAXB-API 的实现 - Weird error with JAXB when unmarshalling two XML strings, one succeeds and the other fails with JAXBException: Implementation of JAXB-API not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM