在做EJB + struts + spring整合时候,在applicationContext.xml中出现错误,路过的兄弟门,进来看看。

问题描述

<!-- 注入jndi--> <jee:jndi-lookup jndi-name="Strutsandejb/CustomersDaoImpl/remote" id="customersDaoImpl" lookup-on-startup="true" cache="true" proxy-interface="com.qcs.daoimpl.CustomersDaoImpl" environment-ref="evn"> </jee:jndi-lookup> 在注入JNDI 时候 No setter found for property'exposeAccessContext' in class 'org.springframework.jndi.jndiObjectFactryBean'各位大哥,求解啊!

解决方案

问题关闭!

时间: 2024-08-01 23:04:41

在做EJB + struts + spring整合时候,在applicationContext.xml中出现错误,路过的兄弟门,进来看看。的相关文章

Webhook 该做和不该做的: 我们在整合超过 100 个 API 中所学到的

本文讲的是Webhook 该做和不该做的: 我们在整合超过 100 个 API 中所学到的, 当现在的应用变的越来越像 API 的集合而且无服务架构获得越来越多的关注时,作为一个 API 的提供者,不应该再只是暴露传统的 REST 接口. 传统 REST API 的设计是用来让你可以程序化的获取或提交内容,但在你只是想如果某些信息改变,API 再通知应用程序的情况下,传统 API 还远不够好,这还远远不是最佳的实践.如果是要实现这个的话,就需要定期轮询,而且这样还会失去扩展性. Picture

Spring配置文件详解 - applicationContext.xml文件路径

Spring配置文件详解 - applicationContext.xml文件路径 Java编程 超过1579次围观 spring的配置文件applicationContext.xml的默认地址在WEB-INF下,只要在web.xml中加入代码  <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener

struts2-求高手帮忙看个struts升级到2.3.16.2中的错误,多谢

问题描述 求高手帮忙看个struts升级到2.3.16.2中的错误,多谢 tomact 启动的时候会报如下的错误,网上搜了很久,都没能解决,希望有知道的高手们帮看下, SEVERE: Exception starting filter struts2 java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExcept

spring找不到applicationContext.xml问题

问题描述 目录格式 spring src default package MyTest.java ShowMessage.java applicationContext.xml JRE System Library Soring 2.0 .Core log4j:WARN No appenders could be found for logger (org.springframework.context.support.FileSystemXmlApplicationContext).log4j

spring security3.24后applicationContext-security.xml中schema配置出错解决方法

   我在以前的一个老项目中使用的spring security的版本是spring-core-3.0.1.RELEASE.jar,其他的相关依赖的包也是这个版本的,但在我在新的项目中把包的版本升级成了3.24的:使用的配置文件还是用原来3.01的applicationContext-security.xml-old. <spring.version>3.2.4.RELEASE</spring.version> <spring.security.version>3.2.

struts+spring+hibernate新手提问

问题描述 请问struts+spring+hibernate怎么配置applicationContext.xml如何配置才能连接oracle11g不知道orcal的jdbc驱动包ojdbc14.jar能不能用是否需要下载新的能适用于orale11g的jar包? 解决方案 解决方案二:怎么说呢好长解决方案三:你可以去我那下载文档,里面有!

求:精通J2EE-Eclipse Struts Hibernate Spring 整合应用案例,电子完整版

问题描述 兄弟们谁有<精通J2EE-EclipseStrutsHibernateSpring整合应用案例>,电子完整版啊?给小弟发一份吧谢谢!邮箱:wenny288@126.com 解决方案 解决方案二:楼主啊我也想弄一份看看你要是得到的话,转一份给我哈谢谢了!!解决方案三:楼主啊我也想弄一份看看你要是得到的话,转一份给我哈software717@gmail.com不胜感谢解决方案四:我有<轻量级J2EE企业应用实践--hibernate+struts+spring整合>楼主要不要

Struts + ibatis +Spring整合时,报错?请朋友们帮忙看一下.谢谢。

问题描述 010-10-14 13:22:04 Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@161509b: defining beans [sqlMapClient,baseDao,StudentDaoImpl,StudentServiceImpl,/student,transactionManager,mytx,dataSource,org.spri

spring 整合 junit

这两天做Web开发,发现通过Spring进行对象管理之后,做测试变得复杂了.因为所有的Bean都需要在applicationContext.xml中加载好,之后再通过@Resource去取得.如果每次都要整个业务流做的差不多了再去测试,这样效率很低,也很麻烦.如果单独去写一个测试用类,这样太繁琐了.于是想起Spring有一个测试框架,能够整合JUnit进行测试,于是便拿出来试试~ 注意 本人使用的 是spring 4.04 ,junit 使用4.4.使用高版本的junit会报错java.lang