Translate

2015년 8월 14일 금요일

[IntelliJ] "Loading archetype list" 메시지가 나오며 화면이 멈추는 증상



OS: Ubuntu 14.04 LTS
IntelliJ ver: 14.1.4




증상

아래의 화면과 같이 "Loading archetype list" 메시지가 나오며 화면이 업데이트 되지 않는 문제가 있었다.






console의 로그를 확인 후 다음과 같이 조치를 했다.


lucifer@lucifer-Vostro-V13:~$ [ 323790]  ERROR - plication.impl.ApplicationImpl - Cannot reconnect. 
java.lang.RuntimeException: Cannot reconnect.
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82)
at org.jetbrains.idea.maven.server.MavenIndexerWrapper.getArchetypes(MavenIndexerWrapper.java:175)
at org.jetbrains.idea.maven.indices.MavenIndicesManager.getArchetypes(MavenIndicesManager.java:308)
at org.jetbrains.idea.maven.wizards.MavenArchetypesStep$6.run(MavenArchetypesStep.java:239)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is: 
com.intellij.execution.ExecutionException: Cannot run program "/opt/jdk/jdk1.7.0_45/jre/bin/java" (in directory "/opt/devTool/idea-IU-141.1532.4/bin"): error=13, Permission denied
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:166)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:71)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenServerManager$6.create(MavenServerManager.java:491)
at org.jetbrains.idea.maven.server.MavenServerManager$6.create(MavenServerManager.java:487)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenIndexerWrapper$7.execute(MavenIndexerWrapper.java:178)
at org.jetbrains.idea.maven.server.MavenIndexerWrapper$7.execute(MavenIndexerWrapper.java:175)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
... 10 more
Caused by: com.intellij.execution.ExecutionException: Cannot run program "/opt/jdk/jdk1.7.0_45/jre/bin/java" (in directory "/opt/devTool/idea-IU-141.1532.4/bin"): error=13, Permission denied
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:146)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:163)
... 18 more
[ 323792]  ERROR - plication.impl.ApplicationImpl - IntelliJ IDEA 14.1.4  Build #IU-141.1532.4 
[ 323792]  ERROR - plication.impl.ApplicationImpl - JDK: 1.7.0_45 
[ 323792]  ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) 64-Bit Server VM 
[ 323792]  ERROR - plication.impl.ApplicationImpl - Vendor: Oracle Corporation 
[ 323792]  ERROR - plication.impl.ApplicationImpl - OS: Linux 

lucifer@lucifer-Vostro-V13:~$ 
lucifer@lucifer-Vostro-V13:~$ ls -l /opt/jdk/jdk1.7.0_45/jre/bin/java
-rw-r--r-- 1 lucifer lucifer 7718 Oct  8  2013 /opt/jdk/jdk1.7.0_45/jre/bin/java
lucifer@lucifer-Vostro-V13:~$ 
lucifer@lucifer-Vostro-V13:~$ 
lucifer@lucifer-Vostro-V13:~$ 
lucifer@lucifer-Vostro-V13:~$ cd /opt/jdk/jdk1.7.0_45/jre/bin/
lucifer@lucifer-Vostro-V13:/opt/jdk/jdk1.7.0_45/jre/bin$ 
lucifer@lucifer-Vostro-V13:/opt/jdk/jdk1.7.0_45/jre/bin$ chmod 755 ./*
lucifer@lucifer-Vostro-V13:/opt/jdk/jdk1.7.0_45/jre/bin$







$JAVA_HOME/jre/bin/java 파일에 실행권한이 없어서 발생한 증상이다.

위와같이 조치 후 다시 확인해보니 정상적으로 동작하였다.



댓글 없음 :

댓글 쓰기