User Story #641 (closed)
Opened 17 years ago
Closed 17 years ago
Groovy is throwing LinkageError on "java omero reload-db"
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | 3.0-Beta2 |
Component: | Deployment | Keywords: | iteration3, build, ant, groovy |
Cc: | cxallan, david@… | Story Points: | n.a. |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
java omero reload-db -d:
Caused by: java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Locator class at groovy.util.AntBuilder.<init>(AntBuilder.java:106) at org.codehaus.groovy.ant.Groovy.execGroovy(Groovy.java:361) at org.codehaus.groovy.ant.Groovy.execute(Groovy.java:259) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
Change History (1)
comment:1 Changed 17 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
r1367 fixes this problem by simply not using groovy. Instead, a main method has been added to ome.security.PasswordUtil and ant calls that with a simple <java/> task. This is inline with #407.
Note: there may still be other problems when using groovy.