2018年11月7日

idea使用maven打包jar包

摘要: 1.在pom.xml中加入以下内容: 注意: 要在<mainClass> </mainClass>中写入带有main()方法的类的完整路径。 如果只写类名,可能会报错:Could not find or load main class 2.选择idea右侧栏的"maven projects",选中项 阅读全文

posted @ 2018-11-07 23:05 乐之者v 阅读(24390) 评论(0) 推荐(0)

导航