Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter #59

Open
knubie opened this issue Oct 15, 2019 · 2 comments
Open

java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter #59

knubie opened this issue Oct 15, 2019 · 2 comments

Comments

@knubie
Copy link

knubie commented Oct 15, 2019

I'm trying to set up cljss to develop on locally so that I can submit a PR, but I'm having trouble getting it started.

There doesn't seem to be any info in the README about setting up the environment, so I tried running

lein figwheel

but I'm getting the following error:

Exception in thread "main" java.lang.ExceptionInInitializerError
        at clojure.main.<clinit>(main.java:20)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(org/httpkit/server.clj:1:1)

I'm new to clojure on the JVM (I mostly use clojurescript with shadow-cljs), so I could use some help getting set up. Thanks!

@roman01la
Copy link
Collaborator

Hello. Sorry I'm not taking PRs right now since a rewrite is planned #57

@knubie
Copy link
Author

knubie commented Oct 15, 2019

@roman01la Got it, thanks for the quick reply. I'll describe my issue here then;

This code:

(defstyled foo :div {})

(def some-component []
  [foo {:style {:font-size "12px"}}]

Will raise a warning from React like:

Warning: Unsupported style property font-size. Did you mean fontSize?

Which I think could be fixed by camel casing the style map here: https://github.com/clj-commons/cljss/blob/master/src/cljss/core.cljs#L106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants