[Solved] Maven project startup error {datasource-1} init error

Problem: the project downloaded from SVN reports an error: {datasource-1} init error} oracle jdbc. OracleDriver

Reason: in the POM corresponding to the project The configuration corresponding to orcal database connection is not introduced in the XML file

<dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc6</artifactId>
          <version>11.2.0.4.0</version>
        </dependency>

After adding configuration, restart the project and solve the problem

Similar Posts: