Opened 12 years ago

Closed 12 years ago

#1243 closed defect (fixed)

mvn jetty:run causes TransformerConfigurationException with “Failed to compile stylesheet. xx errors...."

Reported by: simonp Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.8.1
Component: General Version: v2.8.0
Keywords: Cc:

Description

Problem is that mvn jetty:run (as used by devs) adds current schema plugin config to the schemaplugin-uri-catalog.xml in src/webapp/WEB-INF/data/config (thanks to fxp for that diagnosis) - this would cause all installations built from this src tree to fail.

Fix is to reconfig the schemaplugin-uri-catalog.xml (for urls needed by XSLT engine) at startup with the installed schema plugins (this is done in SchemaManager init) - benefit is that installation can now be moved without causing issues here as well.

See commit a3131b7d850ddb887c720749ced1541d02708d51

Change History (1)

comment:1 by simonp, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.