IDEA中遇到One of the two will be used. Which one is undefined.
2018-02-01 15:28
2336 查看
某次启动idea的时候看到控制台提示如下错误 :
一番google后, 找到答案 :
1.close the project in intelliJ
2.File -> New -> project from existing resources
3.use Import from external model (if any)
4.open the project again.
目前发现其实是因为机器上新装了一个JDK, 导致之前项目设置的JDK "人格分裂"
右键项目 -> open module settings -> Project
在project jdk上edit,然后选一个最新的jdk即可
objc[11289]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java (0x101d564c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x101de64e0). One of the two will be used. Which one is undefined.
一番google后, 找到答案 :
1.close the project in intelliJ
2.File -> New -> project from existing resources
3.use Import from external model (if any)
4.open the project again.
目前发现其实是因为机器上新装了一个JDK, 导致之前项目设置的JDK "人格分裂"
右键项目 -> open module settings -> Project
在project jdk上edit,然后选一个最新的jdk即可
相关文章推荐
- iOS 报错:objc[1334]: Class X ... One of the two will be used. Which one is undefined
- One of the two will be used. Which one is undefined
- (Pod造成的)One of the two will be used. Which one is undefined.
- [经验]Class MediaTransCoder is implemented in both One of the two will be used. Which one is undefined
- Class JavaLaunchHelper is implemented in both. One of the two will be used. Which one is undefined
- One of the two will be used. Which one is undefined.
- iOS:Class Foo is implemented in both MyApp and OtherApp. One of the two will be used. Which one is u
- Class JavaLaunchHelper is implemented in both … libinstrument.dylib. One of the two will be used. Wh
- Class JavaLaunchHelper is implemented in both … libinstrument.dylib. One of the two will be used. Wh
- objc[2213]: Class _NSZombie_BSXPCMessage is implemented in both ?? and ??. One of the two will be us
- objc[2213]: Class _NSZombie_BSXPCMessage is implemented in both ?? and ??. One of the two will be us
- 102 For which two database objects can the VERSIONS clause of the Flashback Versions Query be used?
- UserWarning: The installed version of numexpr 2.4 is not supported in pandas and will be not be used
- 错误:is quoted with " which must be escaped when used within the value
- Question 29: The C++ code below generates a compiler error. Which of the following solutions can be used to correctly access the
- Attribute value ("XXX") is quoted with " which must be escaped when used within the value 异常的修正
- Attribute value is quoted with " which must be escaped when used within the value 问题解决
- Attribute value "xx" is quoted with " which must be escaped when used within the
- One or more breakpoints cannot be set and have been disable.Execution will stop at the begining of the programe
- Attribute value is quoted with " which must be escaped when used within the value 问题解决