Exception starting Spring application from Java

后端 未结 6 1026
陌清茗
陌清茗 2020-12-03 03:27

I am able to compile and start my Spring project using Maven:

mvn -e clean compile exec:java -Dexec.mainClass=de.fraunhofer.fkie.tet.vmware.manager.Test
         


        
6条回答
  •  眼角桃花
    2020-12-03 04:15

    I suspect your spring config file is missing the context XML namespace. It should be added to the root element of your spring config file like this:

    
    
    
        
        
    
    
    

提交回复
热议问题