简体   繁体   English

无法在JAVA RMI服务器代码中加载Azure存储罐无法访问

[英]Azure storage jars are not loading in JAVA RMI Server Code not reachable

We have included the Azurestorage.jar , jackson.jar , slf4j.jar to our projects which contains RMI Server class. 我们已将Azurestorage.jarjackson.jarslf4j.jar包含到我们的包含RMI Server类的项目中。 But when we execute from .exe and communicate to RMI server, the azure storage class connectivity is not established but the same is working for batch file. 但是,当我们从.exe执行并与RMI服务器进行通信时,未建立Azure存储类连接,但对于批处理文件也是如此。

What are we doing wrong? 我们做错了什么?

Per my experience, It seems that you might not set the option -cp or -classpath for importing jar files to at the startup of java.exe which the .exe as you said. 根据我的经验,似乎您可能没有在java.exe启动时将选项导入到jar文件的选项-cp-classpath.exe Please see http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html to know the option classpath for java runtime. 请参阅http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html以了解Java运行时的选项classpath

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

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