Code Monkey home page Code Monkey logo

Comments (10)

larskotthoff avatar larskotthoff commented on July 21, 2024 3

However, I found one solution here:
http://stackoverflow.com/questions/25644023/error-unmarshalling-xml-in-java-8-secure-processing-org-xml-sax-saxnotrecognize

Auto-WEKA now works with my Java 1.8 by adding these system variables to
the java command:
-Dorg.xml.sax.parser="com.sun.org.apache.xerces.internal.parsers.SAXParser"
-Djavax.xml.parsers.DocumentBuilderFactory=
"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl" -
Djavax.xml.parsers.SAXParserFactory=
"com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"

from autoweka.

larskotthoff avatar larskotthoff commented on July 21, 2024 2

Fixed.

from autoweka.

shyamsmalani avatar shyamsmalani commented on July 21, 2024 1

Hey, Thanks, I had same issue and fixed with above solution.

from autoweka.

cyber42 avatar cyber42 commented on July 21, 2024

Hi,

I'm trying to use Weka 3.8.4 with Auto WEKA downloaded through the package manager. Still have the same XML marshalling exception, and providing the -D options suggested above didn't help.

Which version should I downgrade to, so that auto WEKA works?

Thanks

from autoweka.

larskotthoff avatar larskotthoff commented on July 21, 2024

This is an issue with Java, not WEKA. What version of Java are you using?

from autoweka.

alexdruk avatar alexdruk commented on July 21, 2024

Hi there,
I do not know Java and do not understand how and where to set variables mentioned in "larskotthoff commented on May 9, 2016". Could you describe this in more details, please!
I use Java 1.8.0_101 and Weka “weka-3-8-4-azul-zulu.app” and have the same problem with XML marshalling exception.
Please help!

from autoweka.

larskotthoff avatar larskotthoff commented on July 21, 2024

These are options to set for the Java runtime. How to do that depends on how you run WEKA and your operating system.

from autoweka.

alexdruk avatar alexdruk commented on July 21, 2024

I use GUI on Mac OS. So there is no way to set these vars with GUI, is this correct?

from autoweka.

larskotthoff avatar larskotthoff commented on July 21, 2024

This may help: https://stackoverflow.com/questions/14562156/how-to-set-java-environment-variable-on-mac

from autoweka.

alexdruk avatar alexdruk commented on July 21, 2024

from autoweka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.