Spring MVC weblogic ClassNotFoundException

前端 未结 2 924
谎友^
谎友^ 2021-01-28 12:48

I\'m trying to setup a basic spring-mvc project with weblogic. I get this stacktrace

weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.         


        
2条回答
  •  盖世英雄少女心
    2021-01-28 13:39

    Your jar dependencies are missing. You have to import them manually or in case of using Maven, add thee lines to your pom.xml, that assures all the dependencies.

    
        4.3.2.RELEASE
    
    
    
        org.springframework
        spring-core
        ${spring.version}
    
    
        org.springframework
        spring-web
        ${spring.version}
    
    
        org.springframework
        spring-webmvc
        ${spring.version}
    
    

    Then you can clean and rebuild your project. It should be ok.

提交回复
热议问题