Home > Back-end >  Springboot war play packages deployed to tomcat and configure the JNDI data, make uncertain, ask the
Springboot war play packages deployed to tomcat and configure the JNDI data, make uncertain, ask the

Time:09-28


Topics such as name, maven packaging and tomcat deployed war file does not appear problem, the code is shown in figure: ,

Tomcat configuration:

Springboot configuration


Do error data is added as shown in figure:


Pray god to help and have a look

CodePudding user response:

Are you going to use your import the configuration class is started the introduction of the class

CodePudding user response:

reference 1st floor KeepSayingNo response:
the configuration class you want to use the import at startup class introduced the
no need to add the annotation, install the normal springboot data source configuration can run normally, replaced by a jndi don't know where is the problem
  • Related