neo4j jdbc driver as a module on wildfly

211 views Asked by At

I'm trying to install neo4j-jdbc-driver-3.3.1 as a module on Wildfly 11. I created the folders org/neo4j/driver/main and added the module.xml file as following:

<?xml version="1.0" encoding="UTF-8"?>

<module xmlns="urn:jboss:module:1.5" name="org.neo4j.driver">

    <resources>
        <resource-root path="neo4j-jdbc-driver-3.3.1.jar"/>
    </resources>

    <dependencies>
        <module name="javax.api"/>
        <module name="javax.transaction.api"/>
        <module name="sun.jdk"/>
    </dependencies>
</module>

I added the jar neo4j-jdbc-driver-3.3.1.jar in the same directory, but the module does not get deployed.

If I add the jar on the deployments folder it works, but I need the driver as a module.

0

There are 0 answers