-
ÇëÎÊjavax.naming.NameNotFoundException: Name evn is not bound in this Context
Çë½Ìjavax.naming.NameNotFoundException:NameevnisnotboundinthisContextÅäÁËÒ»Ì춼û³öÀ´Çë°ïÎÒ¿´¿´server.xml<context><Resourcename="jdbc/shop"auth="Container"type="javax.sql.DataSource...
559
ÈÈ¶È -
·ÃÎʲ¿ÊðÔÚJBOSSÉϵÄEJB·þÎñ¶ËµÄÓйØÎÊÌâ
·ÃÎʲ¿ÊðÔÚJBOSSÉϵÄEJB·þÎñ¶ËµÄÎÊÌâÔÚ±¾»ú·ÃÎʲ¿ÊðÔÚJBOSSÉϵÄEJB·þÎñ¶Ëʱ±¨ÈçÏ´íÎó£ºjavax.naming.CommunicationException:Couldnotobtainconnectiontoanyoftheseurls:136.127.56.23:8088anddiscoveryfailedwitherror:javax.naming.CommunicationEx...
3387
ÈÈ¶È -
JettyÖеÄjavax.naming.NameNotFoundExceptionµ«TomcatÖÐûÓС£ Ôõô½â¾ö£¿
ÎÊÌâÃèÊö ÎÒÓÐÒ»¸öÕâÑùµÄʾÀý´úÂ룺 ConnectionPool.dataSource=(DataSource)initialContext.lookup("java:comp/env/jdbc/murach"); ÔÚwebapp/META-INF/context.xmlÖÐ <?xmlversion="1.0"encoding="UTF-8"?> <Context> ...
73
ÈÈ¶È -
Òì³£: ÎÞ·¨·ÃÎÊReferenceable ÕÒ²»µ½javax.naming.ReferenceableµÄÀàÎļþ
´íÎó:ÎÞ·¨·ÃÎÊReferenceableÕÒ²»µ½javax.naming.ReferenceableµÄÀàÎļþpublicstaticvoidconnectionDB(){Connectioncon=null;CallableStatementcstmt=null;ResultSetrs=null;try{//Establishtheconnection.SQLServerDataSourceds=n...
9
ÈÈ¶È -
¡¾¡¿¹ØÓÚTomcatÖÐWeb¿Í»§¶Ë£¬Á¬½ÓJBOSSÖÐEJB3·þÎñ¶Ë³öÏÖµÄÓйØÎÊÌâ
¡¾Çó¾È¡¿¹ØÓÚTomcatÖÐWeb¿Í»§¶Ë£¬Á¬½ÓJBOSSÖÐEJB3·þÎñ¶Ë³öÏÖµÄÎÊÌâ·þÎñ¶Ë£¨test£©£ºHelloWorld½Ó¿Ú£ºJavacodepackagecom.test.ejb3;publicinterfaceHelloWorld{publicStringSayHello(Stringname);}HelloWorldBean½Ó¿ÚʵÏÖÀࣺJavacodepackagecom.test.ejb3...
2740
ÈÈ¶È -
com.ibm.websphere.ssl.protocol.SSLSocketFactory´íÎó
com.ibm.websphere.ssl.protocol.SSLSocketFactoryÒì³£ ldapÁ¬½Óʧ°Ü¡£ ? Exceptioninthread"main"java.lang.RuntimeException:javax.naming.CommunicationException:10.145.30.36:636[Rootexceptionisjava.net.SocketExcep...
1619
ÈÈ¶È -
Á¬½Ó³ØÓйØÎÊÌ⣺javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
Á¬½Ó³ØÎÊÌ⣺javax.naming.NameNotFoundException:NamejdbcisnotboundinthisContextTomcat5.5+MySQLÅäÖõÄÊý¾Ý¿âÁ¬½Ó³Ø³öÎÊÌâÁËÊÇ°´ÕÕÍøÉÏдµÄÔÚ%TOMCAT_HOME%\conf\Catalina\localhostÏ´´½¨Í¬ÏîÄ¿Ãû³ÆµÄxmlÎļþ²»¹ý»¹ÊdzöÏÖÕâ¸ö´íÎóÐÅÏ¢javax.naming.NameNotFoundExce...
274
ÈÈ¶È -
weblogic ejb3±¨´í½â¾ö°ì·¨
weblogicejb3±¨´íBeanÀà:Javacodepackagecom.huawei.ejb;importjavax.ejb.Local;importjavax.ejb.Remote;importjavax.ejb.Stateless;@Stateless(mappedName="HelloBean")@Remote(Hello.class)@Local(Hello.cl...
67
ÈÈ¶È -
java.namingÒì³£
java.naming´íÎóHTMLcodejavax.naming.NameNotFoundException'>javax.naming.NameNotFoundException:ÃûÇ°jdbc¤Ï¤³¤Î¥³¥ó¥Æ¥¥¹¥È¤Ë¥Ð¥¤¥ó¥É¤µ¤ì¤Æ¤¤¤Þ¤»¤óatorg.apache.naming.NamingContext.lookup(NamingContext.java:770)atorg.apache.nami...
310
ÈÈ¶È -
java.rmi.UnmarshalException: error unmarshalling
³õѧRMI³ÌÐò¿ñ±¨Òì³£!×î½üÔÚ¿´JAVAºËÐļ¼Êõ¿´µ½ÁËRMIÄÇÀïÎÒÕÕ×ÅÊéÉÏ´ò´úÂë¡£»ù±¾ÉÏûÔõô¸Ä¶¯È»ºóÔËÐоͿñ±¨Òì³£!´úÂëÈçÏÂ:yuancheng.javaimportjava.rmi.Remote;importjava.rmi.RemoteException;publicinterfaceyuanchengextendsRemote{Stringreturnstring()throwsRemot...
757
ÈÈ¶È -
EJBµÄÎÞ״̬»á»°£¬×ÜÊdzö´í,¸ÃÔõô½â¾ö
EJBµÄÎÞ״̬»á»°£¬×ÜÊdzö´í¸Õ¿ªÊ¼Ñ§EJB£¬ÎÒÓãÍyeclipse+jboss4µÄ»·¾³£¬×öÁËÒ»¸ö²âÊÔÀý×Ó£¬½Ó¿Úpackagecom.foxhis.myejb.remote;publicinterfaceMyFirstRemote{ publicStringgetText(Stringname);}½Ó¿ÚʵÏÖ£ºpackagecom.foxhis.myejb.session;importjavax.ej...
2155
ÈÈ¶È -
¼à¿Øweblogic³ö´í,¸ÃÈçºÎ½â¾ö
¼à¿Øweblogic³ö´íÖÁ½ñΪֹֻÌí¼ÓÁËÒ»¸öweblogic.jar°üExceptioninthread"main"java.io.IOExceptionatweblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:135)atweblogic.mana...
51
ÈÈ¶È -
[ÇóÖú]JNDIÏà¹Ø£¡
[ÇóÖú]JNDIÏà¹Ø£¡ packagejndi; importjava.util.Hashtable; importjavax.naming.Context; importjavax.naming.directory.InitialDirContext; importjavax.naming.directory.DirContext; importjavax.nami...
406
ÈÈ¶È -
EJBµÄÎÞ״̬¶Ô»°£¬×ÜÊdzö´í
EJBµÄÎÞ״̬»á»°£¬×ÜÊdzö´í¸Õ¿ªÊ¼Ñ§EJB£¬ÎÒÓãÍyeclipse+jboss4µÄ»·¾³£¬×öÁËÒ»¸ö²âÊÔÀý×Ó£¬½Ó¿Úpackagecom.foxhis.myejb.remote;publicinterfaceMyFirstRemote{ publicStringgetText(Stringname);}½Ó¿ÚʵÏÖ£ºpackagecom.foxhis.myejb.session;importjavax.ej...
4889
ÈÈ¶È -
°ï°ïæÁË
°ï°ïæÁË ÓÐËÖªµÀeclipse¿ª·¢Íøվʱ,jboss4Áª½Ó²»ÉÏÔõô¸ã°¡? ËÑË÷¸ü¶àÏà¹ØÖ÷ÌâµÄÌû×Ó: color="red">¿ª·¢ÍøÕ¾ color='#FF8000'>----------------½â¾ö·½°¸---------------------------------------------------...
182
ÈÈ¶È -
jsp·þÎñÆ÷Áª½ÓÎÊÌâ
jsp·þÎñÆ÷Áª½ÓÎÊÌâ Exceptioninthread"main"javax.naming.CommunicationException[Rootexceptionisjava.rmi.ConnectIOException:Exceptioncreatingconnectionto:218.249.194.208;nestedexceptionis:java.net....
245
ÈÈ¶È -
ʹÓÃWebServiceÊÖ»ú¶Ë·µ»ØÒì³££ºNotFound.¡°System.ServiceModel.CommunicationException¡±ÀàÐ͵Ä
ʹÓÃWebServiceÊÖ»ú¶Ë·µ»Ø´íÎó£ºNotFound.¡°System.ServiceModel.CommunicationException¡±ÀàÐ͵ĸãÁËÒ»ÉÏÎç²»ÖªµÀÊÇʲôÎÊÌ⣬Çó´óÉñ´Í½Ì¡£WebServiceÔÚÍøÒ³²âÊÔÁË´úÂëûÎÊÌâ¡£ÊÖ»ú¶Ë´úÂëÈçÏÂ(µÇ¼)£ºAppService.ChineseTeachingAppWebServiceSoapClientappservice=newAppServ...
171
ÈÈ¶È -
jdbcÁ¬½Ó³ØÖÐ,naming-factory.jarÓÃÀ´×öʲôµÄ?½â¾ö·½·¨
jdbcÁ¬½Ó³ØÖÐ,naming-factory.jarÓÃÀ´×öʲôµÄ?ÔÚÓÃjndi/jdbcʵÏÖÊý¾Ý¿âÁ¬½Ó³Øʱ,ÈôÊÇÔÚ¹¤³ÌµÄWEB-INF/libÖмÓÈënaming-factory.jarºÍnaming-factory-dbcp.jarµÄ»°,ÓÃMyEclipse·¢²¼¹¤³Ìµ½TomcatµÄ»°(¼ÙÈ繤³ÌÃûΪ:myWeb),ÔÚTomcat/webapps/myWeb/ÖÐÖ»»á³öÏÖWEB-INFºÍMETA-IN...
8729
ÈÈ¶È -
javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException¸ßÊÖ¾ÈÃü...71moreCausedby:javax.validation.ConstraintViolationException:validationfailedforclasses[cn.com.softvan.travelb2b.domain.TravelLine]duringpersisttime...
38
ÈÈ¶È -
ServletÖе¼ÈëjavaxʧÎó
ServletÖе¼Èëjavax³ö´íÔÚ×öServletµÄʱºò£¬µ¼Èëimportjavax.servlet.RequestDispatcher;importjavax.servlet.ServletContext;importjavax.servlet.ServletException'>javax.servlet.ServletException;importjavax.servlet.http.H...
43
ÈȶÈ