问题记录
Ehoac Lv3

JetBrains IDEA

unable to import maven project see logs for details

1
2
3
4
idea14
log:

java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors

降低maven版本 3.3.9

Unable to parse template “Class” Error message: This template did not produc

File->Settings->Editor->Code Style->File and Code Templates->Templates

1
2
3
4
5
#if(${PACKAGE_NAME}&&${PACKAGE_NAME}!="")package ${PACKAGE_NAME};#end
#parse("File Header.java")
public class ${NAME} {

}

No JDK found. Please validate either IDEA_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.

idea14
sudo vim /etc/enviroment

1
JAVA_HOME=/usr/local/java/jdk1.8.0_25
 评论