解决java.lang.RuntimeException: mapped-name is required for xxx.xxx.xxx/xx of deployment xx.war

从tomcat 7部署成功的过程部署到JBoss 5.1.0 出现了

java.lang.RuntimeException: mapped-name is required for xxx.xxx.xxx/xx of deployment  xx.war错误,将java文件中所有的@Resource注解改为@Qualifier成功解决,具体原因不是很清楚?

时间: 2024-12-30 03:36:22

解决java.lang.RuntimeException: mapped-name is required for xxx.xxx.xxx/xx of deployment xx.war的相关文章

解决Android studio 启动报错java.lang.RuntimeException: java.lang.IllegalArgumentException

报错内容 Internal error. Please report to https://code.google.com/p/android/issues java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null 

真机测试报错ERROR/AndroidRuntime: java.lang.RuntimeException: setParameters failed解决办法

这个错误是和调用相机摄像头相关的. 产生这个错误的原因主要在于代码控制分辨率的显示和真机测试分辨率不一样. 一:解决办法 WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE); Display display = wm.getDefaultDisplay(); Camera.Parameters parameters = camera.getParameters();// 得到摄像头的参数 para

resin WED服务器初用遇到的问题和解决方法 java.lang.RuntimeException: java.net.SocketException: Unrecognized Windows Socke ts error: 0: JVM_Bind

开启resin 服务器以后提示如下:(控制台不断的循环循环打印如下错误提示) java.lang.RuntimeException: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at com.caucho.server.cluster.Server.start(Server.java:1191) at com.caucho.server.cluster.Cluster.startServer(

Android开发中java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx}: java.lang.NullPointerException 错误的集中原因及解决办法

上面那个问题刚解决,就又来一个问题~~~~ 错误信息字符串:java.lang.RuntimeException: Unable to start activity ComponentInfo{...}: java.lang.NullPointerException 网上有不少解决办法 一般都会在Activity  onCreate()方法里的setContentView(XXX)发生此错误,网上查阅了很多原因,大概有四种重要可能的原因: 原因一:xxx的错误,若为R.layout.main 

使用CXF 2.7.5出现的java.lang.RuntimeException: Cannot create a secure XMLInputFactory错误解决

昨天启动工程测试webservice服务,结果发现服务一调用就报java.lang.RuntimeException: Cannot create a secure XMLInputFactory java.lang.RuntimeException: Cannot create a secure XMLInputFactory at org.apache.cxf.staxutils.StaxUtils.createXMLInputFactory(StaxUtils.java:300) at o

eclipse 4 rcp开发: java.lang.RuntimeException: No application id has been found.

eclipse 4.2.x (June )rcp + E4:http://download.eclipse.org/e4/updates/0.12 自带windowbuilder 1.2 e4 css spy +e4 tools:建立一个默认的E4 application: 建立好后,直接执行: 错误详情: java.lang.RuntimeException: No application id has been found.at org.eclipse.equinox.internal.ap

[JAVA][RCP]Clean project之后报错:java.lang.RuntimeException: No application id has been found.

Clean了一下Project,然后就报了如下错误 !ENTRY com.release.nattable.well_analysis 2 0 2015-11-20 17:04:44.609 !MESSAGE Could not resolve module: com.release.nattable.well_analysis [72] Unresolved requirement: Import-Package: org.eclipse.nebula.widgets.nattable.dat

严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationT

严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationT (2012-09-23 17:20:13) 转载▼ 标签: struts中jar包 dispatcherinitializa 分类: Struts2 错误提示:严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.

hive 报错 java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:344) at org.a