iReportをSpring XML設定ファイルを使用してロードされた休止状態の接続で使用しようとしました。iReport、netbeansプラグインで春にロードされた休止状態の接続時にエラーが発生しました
だから、netbeansウィザードでは、私は新しいデータソースを選択し、私は "バネでロードされたHibernateコレクション"を選択します。 私は私のxml春のファイルを設定し、私はテストをクリックしたときに、私はこの例外を持っている:
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/spring.cfg.xml]; nested exception is org.springframework.beans.FatalBeanException: NamespaceHandler class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] not found; nested exception is java.lang.ClassNotFoundException: org.springframework.context.config.ContextNamespaceHandler
アルがアプリケーション内の素晴らしい作品beacouse春のXMLはokです私は、NetBeansでiReporのためにそれを使用しようとすると、問題がありますプラグイン。
休止状態と春を使用したジャスパーレポートに関するドキュメントは非常にわずかです。
EDIT 私は、ツール - >オプション - > iReport->クラスパス内のすべてのスプリング依存jarを追加(私はこれがば完全に文書化されていない、NetBeansのに参照のうえだ...)、最終的にコンテキストをロードするように見えるが、今、私はこのexcpetionsを持っている:
WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.springframework.beans.factory.xml.NamespaceHandlerSupport arbitrarily from one of [email protected][com.jaspersoft.ireport] and [email protected][org.netbeans.libs.springframework] starting from SystemClassLoader[569 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.springframework.beans.factory.xml.NamespaceHandler arbitrarily from one of [email protected][com.jaspersoft.ireport] and [email protected][org.netbeans.libs.springframework] starting from SystemClassLoader[569 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/spring.cfg.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
私はこれが唯一のNetBeansプラグインの問題であり、私は何:(
感謝を行うことができると思いiReportは、スタンドアロンアプリをインストール