0
我有同樣的問題,因爲這些傢伙:春標註配置上並沒有找到目錄/班的JAR
Spring Annotation-based controllers not working if it is inside jar file
http://forum.springsource.org/showthread.php?t=64731
...但不同的是,我使用Maven 2作爲一個構建工具。
如何使用Maven 2實現相同的效果?
我看到這個解決方案,在創建清單類路徑條目,但它會產生大量的絕對鏈接的JAR這是沒有意義的在我的生產環境: Maven - how can I add an arbitrary classpath entry to a jar?