運行嵌入JETTY報錯

jetty版本用最新的9java

    <dependency>  
            <groupId>org.eclipse.jetty.aggregate</groupId>  
            <artifactId>jetty-all</artifactId>  
            <version>9.0.6.v20130930</version>  
            <type>jar</type>  
            <scope>provided</scope>  
        </dependency>  
spring

拷了springside裏的org.springside.examples.showcase.Main
運行後eclipse

Exception in thread "main" java.lang.SecurityException: class "javax.servlet.HttpConstraintElement"'s signer information does not match signer information of other classes in the same packageide

問題解決:spa

POM裏引了一個servlet 2.5 ,換成3.0orm

jetty-all引了3.0ip

相關文章
相關標籤/搜索