在Fedora 15,做MVN碼頭後:奔跑,我得到,當它試圖初始化MetaMapper爲用戶提供以下EXCETION在Fedora 15,啓動電梯應用在Fedora上得到org.h2.jdbc.JdbcSQLException
org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://
192.168.1.105:33463)" (port may be in use), cause: "timeout" [90061-138]
(full stack trace is pasted last in the mail)
下面是我如何生成的項目
mvn archetype:generate \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-basic_2.8.1 \
-DarchetypeVersion=2.3 \
-DarchetypeRepository=http://scala-tools.org/repo-releases \
-DremoteRepositories=http://scala-tools.org/repo-releases \
-DgroupId=com.mytest \
-DartifactId=helloworld \
-Dversion=2.0
我試圖與Sun JDK更換的OpenJDK,仍然無法正常工作。 H2有什麼問題?我需要重新安裝H2嗎?或者它是一個電梯問題?
如果我殺的運行,並重新啓動另外一個,我會得到相同的異常,只是不同的TCP端口,例如
org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server
(tcp://208.68.143.50:55325)" (port may be in use), cause: "timeout" [90061-138]
你可以試試更新版本的H2嗎?根據錯誤代碼,您正在使用版本1.2.138(2010-06-27),並且在最新版本(我相信版本1.3.156)中錯誤消息已得到改進。 –
當前版本似乎由maven2安裝,因爲它是電梯應用程序的依賴項之一。如果我安裝了新版本,maven2是否仍然可以使用它? – tom
正在下載:http://scala-tools.org/repo-releases/com/h2database/h2/1.3.156/h2-1.3.156.jar [信息]無法找到資源'com.h2database:h2:jar :1.3.156'in repository scala-tools.releases(http://scala-tools.org/repo-releases) 正在下載:http://repo1.maven.org/maven2/com/h2database/h2/1.3。 156/h2-1.3.156.jar – tom