Services with missing/unavailable dependencies

后端 未结 3 1153
时光取名叫无心
时光取名叫无心 2021-01-18 09:12

Any idea why I\'m getting this error:

JBAS014775:    New missing/unsatisfied dependencies:
  service jboss.jdbc-driver.mysql (missing) dependents: [service j         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-18 10:04

    If you are specifying the data source as a resource reference in web.xml, then match the name exactly with that in standalone.xml (or domain.xml):

    web.xml:

     
      java:jboss/datasources/OracleDS
      javax.sql.DataSource
      Container
     
    

    standalone.xml:

    
    

提交回复
热议问题