WEB打jar包出现 jar export finished with warnings. See details for additional information..

本文探讨了一个关于Web项目转换为JAR包时遇到的问题,即如何处理打包过程中的警告信息及缺失主清单属性的情况,并分享了解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我的是web项目,要打成jar包,提示jar export finished with warnings. See details for additional information..

 

这两个我没向他们说的把勾去掉,我把项目里面的警告都给删了,再打包就没有报错。不过我运行jar包,他提示我没有主清单属性,查了下,是没有指定入口类,也就是main方法类,不过我不需要main方法,这是个问题吗?还在探索中,请各位小伙伴如遇到此问题,欢迎留言,谢谢。

JAR export finished with warnings. See details for additional information. Exported with compile warnings: KuCun2/src/main/java/com/kucun/DemoApplication.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/Config/CustomUserDetailsService.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/Config/Role/RoleConverter.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/Config/user/CustomUserDetails.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/Service/AppService.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/Service/DingdanService.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/Service/DynamicRepositoryService.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/controller/DingdanController.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/controller/UserController.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/controller/ErrorConroller.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Mupi.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Chanpin_zujian.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Dingdan.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Dingdan_chanpin.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Kucun.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/User.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Chanpin.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Caizhi.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Zujian.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/Bancai.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/data/entity/DTO/EntityBasisSerializer.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/DingdanRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/UserRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/CaizhiRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/DingdanChanpinRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/KucunRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/MupiRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/ZujianRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/DingdanChanpinZujianRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/ChanpinZujianRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/JinhuoRepository.java Exported with compile warnings: KuCun2/src/main/java/com/kucun/dataDo/BancaiRepository.java Jar export finished with problems. See details for additional information. Could not find main method from given launch configuration.
最新发布
06-21
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值