1

I just installed Windows 7 with NetBeans 6.5.1 and JDK 6u16. I've checked out the Web application project with SVN, which is working with Spring security. Libraries are imported, no reference problems, the same configuration worked with XP.

Here's the beginning of the exception:

WebModule[/db3]PWC1275: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

Full version Here.

Please if you have any suggestions, write below! Thanks in advance!

4

2 に答える 2

1

問題は、Spring がDataSourceJNDI で定義されているはずの「db3」という名前のリソースを見つけられないことのようです。使用しているアプリケーション サーバーで必要な JNDI リソースが構成されていますか?

于 2009-08-25T22:07:34.447 に答える
0

オペレーティング システムをインストールしたばかりであれば、アプリケーション サーバーもインストールした可能性があります。Web アプリケーションは、アプリケーション サーバー (JNDI) のデータベース定義に依存します。私が間違っているかもしれませんが、GlassFish をアプリケーション サーバーとして使用しているようです。その場合は、管理コンソールから JNDI データソースをセットアップできます。

于 2009-08-25T22:30:05.820 に答える