在Netbeans中创建两个jar文件

发布于 2025-01-17 16:25:24 字数 110 浏览 2 评论 0原文

我有一个主类和一个文件夹名称“后端”,它也有一个类,但没有方法主,我只是将此类方法使用到类主体。我需要创建两个罐子:一个用于主类,另一个用于后端。我尝试了构建,只返回一个罐子。有什么方法可以两者兼而有之吗?

I have a Main class and a folder name "backend" which has one class as well but it doesn't have a method main, I just use methods from this class to the class Main. I need to create two jars: one for Main class and another for the package backend. I've tried the build and only returns a jar. Is there any way to get both?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文