Since I got struts2-jquery-plugin 5.0.0, I have a dependency with struts-annotation1.0.7.
When I want to build a project that contains a custom taglib I get the message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project XXX: Fatal error compiling: java.lang.IllegalArgumentException: 'tlibVersion' is missing -> [Help 1]
at org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.checkOptions (TagAnnotationProcessor.java:208)
Since I got struts2-jquery-plugin 5.0.0, I have a dependency with struts-annotation1.0.7. When I want to build a project that contains a custom taglib I get the message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project XXX: Fatal error compiling: java.lang.IllegalArgumentException: 'tlibVersion' is missing -> [Help 1] at org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.checkOptions (TagAnnotationProcessor.java:208)
The taglib is of the form:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"><![CDATA["Some custom Cedralis Struts tags "]]>
Cedralis Struts Tags
1.0
v
/cedralis-struts-tags
...
What do you think ? Is it a problem with struts2-jquery-plugin or with struts-annotation ?
Thanks for all !