1、提示符号不存在,包不存在等
解决方法:换成了低版本的idea运行可以
2、Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/common/langs/StringUtils
解决方法:重新导入了另一个包
3、Exception in thread “main” java.sql.SQLException: No suitable driver found for jdbc:mysql://192.168.123.17:3308/iapp10032
解决方法:在pom.xml文件中改为编译运行
4、 java.net.BindException “Address already in use: JVM_Bind”
解决方法:运行了两个版本的idea,端口被占用问题
5、编译报-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match.
解决方法:
5、报错 error while loading DateTime, class file ‘G:\mvnm2\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar(org/joda/time/DateTime.class)’ is broken (class java.lang.RuntimeException/bad constant pool tag 10 at byte 42)
解决方法:pom文件中添加依赖
<dependency>
<groupId>org.scalaj</groupId>
<artifactId>scalaj-time_2.9.1</artifactId>
<version>0.7</version>
</dependency>