0
我知道如何在Heroku上部署應用程序,但僅在Ruby on Rails上,我一直在嘗試部署此應用程序的LOT:GitHub,但我有一個我不知道如何解決的問題!很多錯誤,當試圖在heroku上部署一個java-jsf應用程序
我的鏈接:https://twitter-on-java.herokuapp.com/
Caused by: java.lang.NoClassDefFoundError: Could not initialize class br.edu.unisep.hibernate.HibernateSessionFactory
at br.edu.unisep.hibernate.GenericDAO.list(GenericDAO.java:57)
at br.edu.unisep.bean.TweetsBean.list(TweetsBean.java:21)
... 43 more
但是,如果我發生任何變化,並再次運行mvn package
,並做推Heroku的..我有另外一個問題:
org.hibernate.HibernateException: /hibernate.cfg.xml not found
所以如果你能給我一個燈?
我很高興你的時間!