wildfly registering mysql as a datasource

前端 未结 5 889
隐瞒了意图╮
隐瞒了意图╮ 2021-01-14 14:17

I have been trying to configure mysql as a datasource in wildfly. I am not sure what i am missing out, i get an error on startup .

I have the mysql-connector-java-5

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-14 15:06

    Two things: I just got mine working, and have the driver and xml located in $JBOSS_HOME/modules/com/mysql/jdbc/main - I'm fairly new with this as well so I'm not sure if that matters. Another thing: I don't know if it is just a typo, but if it was just copied and pasted it looks like your JAR name is incorrect

    
    

    when it should be

    
    

    I forgot the .jar in mine, and that ended up fixing it. Hope that helps!

提交回复
热议问题