1

作成中の Jira プラグインを実行中に奇妙なエラーが発生しました。

SQLExceptionプラグインはコンパイルして実行されますが、プラグインで次のように明示的に重要な型を見つけることができないのは意味がありません。

 import java.sql.SQLException;

そして、私が知る限り、これは Java ランタイムの一部であるため、他の jar を含める必要はありません。

[INFO] [talledLocalContainer] 2012-11-25 16:00:36,739 http-2990-1 ERROR      [atlassian.plugin.servlet.DefaultServletModuleManager] Unable to create servlet
[INFO] [talledLocalContainer] com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.Error: Unresolved compilation problem: 
[INFO] [talledLocalContainer]   The constructor TestRun(String) refers to the missing type SQLException
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer]   at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)
[INFO] [talledLocalContainer]   at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)
[INFO] [talledLocalContainer]   at com.atlassian.plugin.servlet.DefaultServletModuleManager.getServlet(DefaultServletModuleManager.java:344)

そして、これがJiraの開始方法に関する情報です。これは私にとっては問題ないようです。

[INFO] [talledLocalContainer] ___ Java クラス パス _______________________
[情報] [talledLocalContainer]
[INFO] [talledLocalContainer] sun.boot.class.path : /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/resources.jar:
[INFO] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/rt.jar:
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/sunrsasign.jar:
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/jsse.jar:
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/jce.jar:
[INFO] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/charsets.jar:
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/jfr.jar:
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/JObjC.jar:
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/classes
[情報] [talledLocalContainer]
[INFO] [talledLocalContainer] java.library.path : /Users/sorins/Library/Java/Extensions:
[INFO] [talledLocalContainer] /Library/Java/Extensions:
[情報] [talledLocalContainer] /Network/Library/Java/Extensions:
[INFO] [talledLocalContainer] /System/Library/Java/Extensions:
[情報] [talledLocalContainer] /usr/lib/java:
[情報] [talledLocalContainer] .
[情報] [talledLocalContainer]
[情報] [talledLocalContainer] java.endorsed.dirs : /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/endorsed
[情報] [talledLocalContainer]
[INFO] [talledLocalContainer] java.ext.dirs : /Users/sorins/Library/Java/Extensions:
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/ext:
[INFO] [talledLocalContainer] /Library/Java/Extensions:
[情報] [talledLocalContainer] /Network/Library/Java/Extensions:
[INFO] [talledLocalContainer] /System/Library/Java/Extensions:
[情報] [talledLocalContainer] /usr/lib/java
[情報] [talledLocalContainer]
[情報] [talledLocalContainer] java.class.path : /Users/sorins/dev/jira/jira-libs.hg/plugins/testrun/target/container/tomcat6x/apache-tomcat-6.0.20/bin/bootstrap.jar :
[情報] [talledLocalContainer] /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/lib/tools.jar
[情報] [talledLocalContainer]
4

0 に答える 0