你好,我嘗試執行我的bootRun上的IntelliJ項目,我得到followign錯誤:Java主路徑不同
Execution failed for task ':bootRun'.
> Process 'command '/usr/lib/jvm/java-1.8.0-openjdk- 1.8.0.101-1.b14.fc24.x86_64/bin/java'' finished with non-zero exit value 1
我檢查了我的JAVA路徑之類的東西,結果這裏有
echo $JAVA_HOME
/home/mypc123/Downloads/jdk1.8.0_101/bin/java
$ which java
/usr/bin/java
我已經在/ usr/bin中jdk1.8.0
我看起來更深入,發現這一點:
ERROR org.apache.tomcat.jdbc.pool.ConnectionPool - Unable to create initial connections of pool.
org.postgresql.util.PSQLException: FATAL: role "syn12" does not exist
然而,當我連接到PostgreSQL我已經syn12角色和我的gradle所有JVM的的形式爲usr/lib中/ JVM/JAVA .......
嗯,我們開始認真此:不能加載庫:/opt/symmetry/ste/java/libste-java.so,我該如何安裝這個庫?
創建名爲'steObjectPool'的bean時出錯:通過構造函數的Bean實例化失敗;嵌套異常是org.springframework.beans.BeanInstantiationE,這就是我從日誌中得到的 – user6731260