EJB运行时错误的解决方案 [英] Solution for EJB runtime Error

查看:76
本文介绍了EJB运行时错误的解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试运行app-client Main方法时,我不断收到以下错误:

While trying to run an app-client Main method, I keep getting the following error:

org.glassfish.appclient.client.acc.UserError: ACC007: The app client directory C:\Projects\MyFirstJMSQueue does not contain a manifest; the app client container cannot process it. Embedded programs should pass URIs with scheme "jar:" for JAR files and scheme "file:" for directories. Java Result: 1


当我搜索解决方案时,我在此链接中找到了一个指南:

http://www.java.net/node/700937

但是我不知道如何为客户端配置EAR的属性并运行EAR本身?

有没有人可以帮助我?


when I searched for a solution I found a guide in this link:

http://www.java.net/node/700937

but I don;t know how I should configure EAR;s properties to the client and run the EAR itself?

Is there somebody can help me?

推荐答案

Java教程中的^ ].

我可以建议创建一个.您的IDE应该能够指导您完成该过程.
Working with Manifest Files[^] in Java tutorials.

I can recommend to create one. Your IDE should be able to guide you through the process.


这篇关于EJB运行时错误的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆