Hi All,
Good Day!
I am trying to create a servlet and that servlet will return a value from the Appian server. While deploying the plugin in Appian env, I am getting the below error:[Appian Plugin Hot Deploy] ERROR com.atlassian.plugin.parsers.XmlDescriptorParser - There were problems loading the module 'servlet'. The module and its plugin have been disabled. [Appian Plugin Hot Deploy] ERROR com.atlassian.plugin.parsers.XmlDescriptorParser - There was a problem loading the descriptor for module 'servlet' in plugin 'Constant Servlet Plugin'. There must be at least one path specified: <servlet class="com.example.plugin.ConstantServlet" key="ConstantServlet"><path>/constantValue</path></servlet> com.atlassian.plugin.util.validation.ValidationException: There must be at least one path specified: <servlet class="com.example.plugin.ConstantServlet" key="ConstantServlet"><path>/constantValue</path>
Appian-plugin.xml
<appian-plugin name="Constant Servlet Plugin" key="com.example.plugin"> <plugin-info> <description>To get a key</description> <version>1.0.0</version> <application-version min="24.2"/> </plugin-info> <servlet class="com.example.plugin.ConstantServlet" key="ConstantServlet"> <path>/constantValue</path> </servlet></appian-plugin>
Please help me to resolve this. Thanks in advance!
Discussion posts and replies are publicly visible
Being no expert in plugin development, I just copied your post into ChatGPT and got something. Did you try that?