admin管理员组文章数量:1316422
I’m trying to install Apache Syncope 3.0.10 on WildFly using Maven. The build process completes successfully, and there are no errors in the WildFly logs. However, when I try to access the API endpoint, I encounter the following issue:
URL accessed: http://<server-ip>:8080/syncope/rest/openapi.json
Error message: Failed to load API definition – Fetch error: Not Found
What I’ve checked so far:
Deployment Status
All WAR files (syncope.war, syncope-console.war, syncope-enduser.war, syncope-wa.war) are successfully deployed.
No errors in server.log.
Configuration
The core.properties file contains:
server.servlet.contextPath=/syncope
cxf.path=/rest
WildFly is configured with a JNDI datasource for PostgreSQL, and database connectivity works fine.
Keymaster & Service Discovery
keymaster.address is set to http://:8080/syncope/rest/keymaster
Running curl -v http://:8080/syncope/rest/keymaster returns 404 NOT found.
Swagger & API Availability
Swagger UI loads at http://:8080/syncope/, but the API definition is missing.
There is no /WEB-INF/classes/rest/ directory in the deployed WAR file.
Questions:
Should the /rest endpoint be generated automatically, or do I need to configure something explicitly?
Is there a required dependency or configuration I might be missing for Syncope’s REST API to work on WildFly?
Has anyone successfully deployed Syncope 3.0.x on WildFly and encountered this issue?
Any guidance would be greatly appreciated!
What I Tried:
- Checked WildFly logs (server.log) – No critical errors or deployment failures.
- Verified database connectivity – PostgreSQL datasource is configured via JNDI in standalone.xml, and the connection test from WildFly CLI was successful.
- Verified configuration files (core.properties)
- Checked deployed WAR contents – The expected /WEB-INF/classes/rest/ directory is missing inside syncope.war.
- Swagger UI loads, but the API definition /syncope/rest/openapi.json is missing
本文标签: openapiIssue with Syncope 3010 on WildFly – Failed to load API definitionStack Overflow
版权声明:本文标题:openapi - Issue with Syncope 3.0.10 on WildFly – Failed to load API definition - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741987269a2408758.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论