Tomcat6 重启失败

Tomcat6 重启失败

我已经安装了 tomcat6 和 Geoserver 7。

尝试重新启动后,出现错误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)                      

我可以用它做什么?

答案1

令人遗憾的是,openjdk-6-jre-headless 与新的 tzdata-java 不兼容。

因此我需要更新到版本 7

相关内容