ITeye博客

javax.naming.NameNotFoundException: Name portal is not bound in this Context

ydsakyclguozi · 2010-05-17 12:16 · 中间件 · 企业架构 · Markdown

tomcat-5.5.20部署hibernate应用,报错为:javax.naming.NameNotFoundException: Name portal is not bound in this Context 以前用weblogic8.14的时候在hibernate.cfg.xml连接池是这么配置的: portal org.hibernate.dialect.Oracle9Dialect 现需要改为: java:comp/env/portal org.hibernate.dialect.Oracle9Dialect 问题解决。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。