java.util.MissingResourceException:找不到com.sun.xml.internal.messaging.saaj.soap.LocalStrings捆绑包

时间:2019-06-20 07:34:02

标签: java sbt javax.xml

我正在尝试通过sbt run运行我的应用程序,但是在创建新服务(javax.xml.ws.Service)时出现以下错误:

Uncaught error from thread [default-akka.actor.default-dispatcher-3]: null, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[default]
java.lang.ExceptionInInitializerError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at javax.xml.soap.FactoryFinder.newInstance(FactoryFinder.java:47)
        at javax.xml.soap.FactoryFinder.find(FactoryFinder.java:194)
        at javax.xml.soap.FactoryFinder.find(FactoryFinder.java:98)
        at javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:74)
        at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:146)
        at com.sun.xml.internal.ws.api.SOAPVersion.<init>(SOAPVersion.java:175)
        at com.sun.xml.internal.ws.api.SOAPVersion.<clinit>(SOAPVersion.java:84)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseBinding(RuntimeWSDLParser.java:578)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:460)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:234)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
        at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
        at javax.xml.ws.Service.<init>(Service.java:77)
        at javax.xml.ws.Service.create(Service.java:707)
        at yss.service.soap.SoapServiceUtils$.createServiceInterface(SoapServiceUtils.scala:72)
        at yss.service.download.api.account.impl.YSSAPIServiceImpl.traverseAccountRecursive$1(YSSAPIServiceImpl.scala:43)
        at yss.service.download.api.account.impl.YSSAPIServiceImpl.traverseAccounts(YSSAPIServiceImpl.scala:66)
        at yss.service.execute.ReportExecutor.execute(ReportExecutor.scala:76)
        at yss.batch.report.ReportBatch.execute(ReportBatch.scala:27)
        at common.batch.Batch$$anonfun$receive$1.$anonfun$applyOrElse$1(Batch.scala:31)
        at scala.util.Try$.apply(Try.scala:213)
        at common.batch.Batch$$anonfun$receive$1.applyOrElse(Batch.scala:31)
        at akka.actor.Actor.aroundReceive(Actor.scala:539)
        at akka.actor.Actor.aroundReceive$(Actor.scala:537)
        at yss.batch.report.ReportBatch.aroundReceive(ReportBatch.scala:14)
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:610)
        at akka.actor.ActorCell.invoke(ActorCell.scala:579)
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268)
        at akka.dispatch.Mailbox.run(Mailbox.scala:229)
        at akka.dispatch.Mailbox.exec(Mailbox.scala:241)
        at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.util.MissingResourceException: Can't find com.sun.xml.internal.messaging.saaj.soap.LocalStrings bundle
        at java.util.logging.Logger.setupResourceInfo(Logger.java:1945)
        at java.util.logging.Logger.<init>(Logger.java:380)
        at java.util.logging.LogManager$SystemLoggerContext.demandLogger(LogManager.java:925)
        at java.util.logging.LogManager.demandSystemLogger(LogManager.java:581)
        at java.util.logging.Logger.demandLogger(Logger.java:452)
        at java.util.logging.Logger.getLogger(Logger.java:553)
        at com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl.<clinit>(SAAJMetaFactoryImpl.java:42)
        ... 45 more

我正在使用:

oracle java版本=“ 1.8.0_181”

sbt版本=“ 1.2.7”

我已经搜索过,但找不到适合我问题的答案。 我想知道这里是否有冲突库或版本?

0 个答案:

没有答案