org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cpDataSource': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: jdbc/fc
I am using wildfly 10 and Here is web.xml .
Are you sure about the "java:jboss" JNDI lead-in? As far as I know, it should always be java:comp/env.
Also, I'm not sure about a context.xml file in WildFly. That's the name reserved for Tomcat's server-dependent deployment descriptor and back when Tomcat was actually a component of JBoss, I'm pretty sure that JBoss had a completely different filename and form for webapp server-dependent deployment descriptor files.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
posted 2 years ago
Thank you for reply.
Yes. I am sure about the java:jboss.
I can run the web application in eclipse.
But when I deploy the war file in wildfly, I can get such error.
On top of spaghetti all covered in cheese, there was this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!