0
我剛剛在openShift上創建了一個新應用程序,這是我第一次使用openshift。
我使用這個cartidage - >的Tomcat 7(JBoss的EWS 2.0)
第一鏈接到我的應用程序被加載默認openshift index.html
OpenShift(Tomcat 7) - 向pom.xml添加依賴項後的空白主頁
但加入一些依賴於pom.xml
文件後,它顯示了一個空白頁瀏覽器...我沒有觸及任何其他文件,只是該文件。 我試過手動重啓和許多其他的東西來使它工作,但它只是繼續顯示空白頁,我試圖加載任何目錄。
這些都是我加
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>2.25.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
<version>2.25.1</version>
</dependency>
日誌的依賴性顯示推更改後沒有錯誤..一切是從行家取出,並一切正常。
我甚至刪除的應用程序並重新創建一個又一個,仍然有同樣的問題
pls hlp ....... –
你的pom.xml是怎麼樣的?也許你碰撞依賴。另見:http://stackoverflow.com/questions/25265629/tomcat-7-jersey-2-0-error。日誌中是否有任何錯誤? –