简体   繁体   English

WSDL2JAVA和Heroku

[英]WSDL2JAVA and Heroku

I'm trying to access an external API in a Heroku environment. 我正在尝试在Heroku环境中访问外部API。 I have basically set up all the correct dependencies but now it's throwing the following error: 我基本上已经设置了所有正确的依赖项,但是现在抛出了以下错误:

java.lang.ClassNotFoundException: Unable to load class with name schemaorg_apache_xmlbeans.system.sEACC53AB4DE4AB80D192E3C9B6CE210A.TypeSystemHolder java.lang.ClassNotFoundException:无法加载名称为schemaorg_apache_xmlbeans.system.sEACC53AB4DE4AB80D192E3C9B6CE210A.TypeSystemHolder的类

I know I have the generated XSB files and the TypeSystemHolder.class file in my resources directory. 我知道我的资源目录中有生成的XSB文件和TypeSystemHolder.class文件。

Can anyone point me in the right direction on how to reference these since I don't know how to do this with Maven. 谁能为我指出如何引用这些内容的正确方向,因为我不知道如何使用Maven做到这一点。

Thanks 谢谢

确保生成类的“资源”目录是源目录。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM