igniterealtime/REST-API-Client

RESTServicePlugin cannot be resolved to a type in JSP

Closed this issue · 0 comments

I am trying to compile jar but the it fails at the JSP file.

[WARNING] org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [17] in the generated java file: [/openfire-restAPI-plugin/target/classes/org/jivesoftware/openfire/plugin/restAPI/rest_002dapi_jsp.java]
Only a type can be imported. org.jivesoftware.openfire.plugin.rest.RESTServicePlugin resolves to a package

An error occurred at line: [60] in the jsp file: [/rest-api.jsp]
RESTServicePlugin cannot be resolved to a type
57:
58: final PluginManager pluginManager = admin.getXMPPServer().getPluginManager();
59:
60: RESTServicePlugin plugin = (RESTServicePlugin) XMPPServer.getInstance().getPluginManager()
61: .getPlugin("restapi");
62:
63: // Handle a save

Thanks in advance!