Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/rest/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Websphere liberty websphere liberty developer工具上未识别JCA资源适配器_Websphere Liberty_Jca_Ibm Wdt - Fatal编程技术网

Websphere liberty websphere liberty developer工具上未识别JCA资源适配器

Websphere liberty websphere liberty developer工具上未识别JCA资源适配器,websphere-liberty,jca,ibm-wdt,Websphere Liberty,Jca,Ibm Wdt,我正在EclipseJEE(Mars)/WebSphereLiberty(8.5.5.8)/WebSphereLiberty开发者工具插件(8.5.5)上配置JCA资源适配器 服务器启动时,资源适配器已正确安装,并具有以下server.xml配置(已启用jca 1.7功能): 我的问题是,在开发人员工具中无法识别标记(未根据模式进行验证),因此server.xml有一个错误。 与标记相同的错误(在本例中只是警告)未被识别为配置元素 有没有办法删除server.xml上的验证错误/警告 谢谢。

我正在EclipseJEE(Mars)/WebSphereLiberty(8.5.5.8)/WebSphereLiberty开发者工具插件(8.5.5)上配置JCA资源适配器

服务器启动时,资源适配器已正确安装,并具有以下server.xml配置(已启用jca 1.7功能):


我的问题是,在开发人员工具中无法识别标记(未根据模式进行验证),因此server.xml有一个错误。 与
标记相同的错误(在本例中只是警告)未被识别为配置元素

有没有办法删除server.xml上的验证错误/警告


谢谢。

如果您在WDT之外安装了工具功能(例如使用installUtility),而不是从WDT内部安装,则可能需要在安装时“刷新”WDT的元数据

您可以通过以下方式完成此操作:

刷新运行时(更新架构和功能列表): 或:
谢谢:刷新WDT的元数据并重新验证XML后,它就可以工作了。
<resourceAdapter location="<path_to_my_rar>" />
 Window -> Show View -> Other -> Server -> Runtime Explorer
 Right click on runtime in Runtime Explorer view and select Edit
 Click on Advanced options in the dialog
 Click the Refresh button
Window -> Preferences -> Server -> Runtime Environment -> SELECT YOUR RUNTIME -> CLICK Edit -> CLICK Advanced options... -> CLICK Refresh