Project yesterday is good, today a start on the newspaper a very strange mistake, very helpless!
error Message
Javax.xml.ws.WebServiceException:Cannot Find Service Endpoint TARGET:JBOSS.J2EE:NAME=DATAFACADEBEAN,SERVICE=EJB3, Jar=xian-ejb.jar,ear=xian-ear.ear at Org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.init ( invocationhandlerejb3.java:83) at Org.jboss.wsf.framework.deployment.DefaultLifecycleHandler.create ( defaultlifecyclehandler.java:51) at Org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect.create ( ENDPOINTLIFECYCLEDEPLOYMENTASPECT.JAVA:42) at Org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy (deploymentaspectmanagerimpl.java:118) at Org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy (archivedeployerhook.java:97) at Org.jboss.wsf.container.jboss42.DeployerInterceptor.start (deployerinterceptor.java:90) at Org.jboss.deployment.subdeployerinterceptorsupport$xmbeaninterceptor.start (Subdeployerinterceptorsupport.java : 188) at Org.jboss.deployment.SubDeployerInterceptor.invoke (subdeployerinterceptor.java:95) at Org.jboss.mx.server.InvocaTion.invoke (invocation.java:88) at Org.jboss.mx.server.AbstractMBeanInvoker.invoke (abstractmbeaninvoker.java:264 ) at Org.jboss.mx.server.MBeanServerImpl.invoke (mbeanserverimpl.java:659) at Org.jboss.mx.util.MBeanProxyExt.invoke (mbeanproxyext.java:210) at Com.sun.proxy. $Proxy 34.start (Unknown Source) at Org.jboss.deployment.MainDeployer.start (maindeployer.java:1025) at Org.jboss.deployment.MainDeployer.start ( maindeployer.java:1015) at Org.jboss.deployment.MainDeployer.start (maindeployer.java:1015) at Org.jboss.deployment.MainDeployer.deploy (maindeployer.java:819) at Org.jboss.deployment.MainDeployer.deploy ( maindeployer.java:782) at Sun.reflect.GeneratedMethodAccessor21.invoke (Unknown Source) at Sun.reflect.DelegatingMethodAccessorImpl.invoke (DELEGATINGMETHODACCESSORIMPL.JAVA:25) at Java.lang.reflect.Method.invoke (method.java:597) at Org.jboss.mx.interceptor.ReflectedDispatcher.invoke ( reflecteddispatcher.java:155) at Org.jboss.mx.server.Invocation.dispatch (invocation.java:94) at Org.jboss.mx.interceptor.AbstractInterceptor.invoke (abstractinterceptor.java:133) at Org.jboss.mx.server.Invocation.invoke (invocation.java:88) at Org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke (modelmbeanoperationinterceptor.java:142) at Org.jboss.mx.server.Invocation.invoke (invocation.java:88) at Org.jboss.mx.server.AbstractMBeanInvoker.invoke ( abstractmbeaninvoker.java:264) at Org.jboss.mx.server.MBeanServerImpl.invoke (mbeanserverimpl.java:659) at Org.jboss.mx.util.MBeanProxyExt.invoke (mbeanproxyext.java:210) at Com.sun.proxy. $Proxy 9.deploy (Unknown Source) at Org.jboss.deployment.scanner.URLDeploymentScanner.deploy (urldeploymentscanner.java:421) at Org.jboss.deployment.scanner.URLDeploymentScanner.scan (urldeploymentscanner.java:634) at Org.jboss.deployment.scanner.abstractdeploymentscanner$scannerthread.doscan (AbstractDeploymentScanner.java:263 ) at Org.jboss.deployment.scanner.abstractdeploymentscanner$scannerthread.loop (abstractdeploymentscanner.java:2) at Org.jboss.deployment.scanner.abstractdeploymentscanner$scannerthread.run (Abstractdeploymentscanner.java : 225)
Find a lot of solutions online: For example, to replace the JDK version, modify the Jboss-app.xml file their own Final solution is in Goods_client.java (yesterday modified) GID, cid add "@Id" annotation, mapping database primary key, Goods_ Client is the entity class corresponding to the database table I'm not involved in the project building principle yet to study, reference links: Links