java.text.ParseException

failed to load settings from file:/nfs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver

Solutions on the web97

  • via apache.org by Unknown author, 1 year ago
    failed to load settings from file:/nfs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver
  • via ant-ivy-user by Maarten Coene, 11 months ago
    failed to load settings from file:/nfs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver
  • failed to load settings from file:/Users/dan/p/pants/build-support/ivy/ivysettings.xml: impossible to add configured child for ivy on class org.apache.ivy.plugins.resolver.FileSystemResolver: ivy pattern must be absolute: ${env.ANDROID_HOME}/extras/android/m2repository/[organisation]/[module]/[revision]/[module]-[revision].pom
  • Stack trace

    • java.text.ParseException: failed to load settings from file:
    • fs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver at org.apache.ivy.ant.IvyAntSettings.createIvyEngine(IvyAntSettings.java:309) at org.apache.ivy.ant.IvyAntSettings.execute(IvyAntSettings.java:276) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.text.ParseException: failed to load settings from file:
    • fs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:103) at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:91) at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:363) at org.apache.ivy.Ivy.configure(Ivy.java:415) at org.apache.ivy.ant.IvyAntSettings.createIvyEngine(IvyAntSettings.java:297) ... 17 more Caused by: java.lang.IllegalArgumentException: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver at org.apache.ivy.util.Configurator.setAttribute(Configurator.java:597) at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:186) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:176) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:99) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.