我已经与Geoserver 7一起安装了tomcat6。
在catalina.out
出现尝试重新启动错误之后
java.lang.NoClassDefFoundError: Could not initialize class java.util.Currency at java.text.DecimalFormatSymbols.initialize(DecimalFormatSymbols.java:559) at java.text.DecimalFormatSymbols.<init>(DecimalFormatSymbols.java:94) at java.text.DecimalFormatSymbols.getInstance(DecimalFormatSymbols.java:157) at java.text.NumberFormat.getInstance(NumberFormat.java:767) at java.text.NumberFormat.getIntegerInstance(NumberFormat.java:439) at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:581) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:570) at java.text.DateFormat.get(DateFormat.java:724) at java.text.DateFormat.getDateInstance(DateFormat.java:499) at java.text.MessageFormat.makeFormat(MessageFormat.java:1407) at java.text.MessageFormat.applyPattern(MessageFormat.java:475) at java.text.MessageFormat.<init>(MessageFormat.java:367) at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:70) at org.apache.juli.FileHandler.publish(FileHandler.java:198) at java.util.logging.Logger.log(Logger.java:573) at java.util.logging.Logger.doLog(Logger.java:598) at java.util.logging.Logger.logp(Logger.java:798) at org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:167) at org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:135) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:100) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
我能用它做什么?
这很伤心,但是openjdk-6-jre-headless与新的tzdata-java不兼容。
所以,我需要更新到版本7