Tomcat8.5版本在tomcat文件夹路径/conf/server.xml配置以后,运行提示错误,第一次发布,感谢。

server.xml文件





  



  







  

    
  

  
	
      
    

    

	
      
    

    

  

控制台日志如下:

警告: 参照の解決中に予測しない例外が発生しました
java.lang.IllegalArgumentException: The local resource link [PLCDBORA] that refers to global resource [jdbc/plcdbora] was expected to return an instance of [oracle.jdbc.OracleDriver] but returned an instance of [org.apache.tomcat.dbcp.dbcp2.BasicDataSource]
	at org.apache.naming.factory.ResourceLinkFactory.getObjectInstance(ResourceLinkFactory.java:163)
	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:159)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:827)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:159)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:827)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:159)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:827)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:163)
	at javax.naming.InitialContext.lookup(InitialContext.java:417)
	at jp.co.cocom.frame.database.CCMDataSourceFactory.getDataSource(Unknown Source)
	at jp.co.cocom.frame.plugin.CCMJndiConnectorPlugin.init(Unknown Source)
	at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4978)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5290)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

主要问题是这句话是什么意思:java.lang.IllegalArgumentException: The local resource link [PLCDBORA] that refers to global resource [jdbc/plcdbora] was expected to return an instance of [oracle.jdbc.OracleDriver] but returned an instance of [org.apache.tomcat.dbcp.dbcp2.BasicDataSource]

你可能感兴趣的:(Tomcat8.5版本在tomcat文件夹路径/conf/server.xml配置以后,运行提示错误,第一次发布,感谢。)