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

Cannot build the plugin #104

Open
lkonstantinov opened this issue Nov 8, 2016 · 0 comments
Open

Cannot build the plugin #104

lkonstantinov opened this issue Nov 8, 2016 · 0 comments

Comments

@lkonstantinov
Copy link

Integration test phase fails for the autodoc and marginalia projects with problems like this (probably related to a combination of Clojure, Java and autodoc/marginalia versions)

[DEBUG] Java exectuable used:  java
[DEBUG] Clojure manifest classpath: file:/C:/work/git/clj/clojure-maven-plugin/target/it/autodoc-1.1.0/target/classes/../generated-sources file:/C:/work/git/clj/clojure-maven-plugin/target/it/autodoc-1.1.0/src/main/clojure/ file:/C:/work/git/clj/clojure-maven-plugin/target/it/autodoc-1.1.0/src/test/java file:/C:/work/git/clj/clojure-maven-plugin/target/it/autodoc-1.1.0/src/test/clojure file:/C:/work/git/clj/clojure-maven-plugin/target/it/autodoc-1.1.0/target/classes/ file:/C:/work/git/clj/clojure-maven-plugin/target/it/autodoc-1.1.0/target/test-classes file:/C:/work/git/clj/clojure-maven-plugin/target/it/autodoc-1.1.0/target/classes/ file:/C:/work/git/clj/clojure-maven-plugin/target/local-repo/org/clojure/clojure/1.1.0/clojure-1.1.0.jar file:/C:/work/git/clj/clojure-maven-plugin/target/local-repo/org/clojure/clojure-contrib/1.1.0/clojure-contrib-1.1.0.jar file:/C:/work/git/clj/clojure-maven-plugin/target/local-repo/autodoc/autodoc/0.7.1/autodoc-0.7.1.jar file:/C:/work/git/clj/clojure-maven-plugin/target/local-repo/enlive/enlive/1.0.0-SNAPSHOT/enlive-1.0.0-SNAPSHOT.jar file:/C:/work/git/clj/clojure-maven-plugin/target/local-repo/org/ccil/cowan/tagsoup/tagsoup/1.2/tagsoup-1.2.jar file:/C:/work/git/clj/clojure-maven-plugin/target/local-repo/ant/ant/1.6.2/ant-1.6.2.jar file:/C:/work/git/clj/clojure-maven-plugin/target/local-repo/ant/ant-launcher/1.6.2/ant-launcher-1.6.2.jar 
[DEBUG] Command line: [java, -Dclojure.compile.path=C:\\work\\git\\clj\\clojure-maven-plugin\\target\\it\\autodoc-1.1.0\\target\\classes, -jar, C:\Users\dimd00d\AppData\Local\Temp\clojuremavenplugin621785452850336002jar, C:\Users\dimd00d\AppData\Local\Temp\autodoc2783495861630139451.clj]
.\src\main\clojure\autodoc.clj: done.
Exception in thread "main" java.lang.IllegalArgumentException: No method in multimethod 'copy' for dispatch value: [nil java.io.File] (autodoc2783495861630139451.clj:0)
	at clojure.lang.Compiler.eval(Compiler.java:4658)
	at clojure.lang.Compiler.load(Compiler.java:4972)
	at clojure.lang.Compiler.loadFile(Compiler.java:4939)
	at clojure.main$load_script__7405.invoke(main.clj:213)
	at clojure.main$script_opt__7442.invoke(main.clj:265)
	at clojure.main$main__7466.doInvoke(main.clj:346)
	at clojure.lang.RestFn.invoke(RestFn.java:413)
	at clojure.lang.Var.invoke(Var.java:359)
	at clojure.lang.AFn.applyToHelper(AFn.java:173)
	at clojure.lang.Var.applyTo(Var.java:476)
	at clojure.main.main(main.java:37)
Caused by: java.lang.IllegalArgumentException: No method in multimethod 'copy' for dispatch value: [nil java.io.File]
	at clojure.lang.MultiFn.getFn(MultiFn.java:115)
	at clojure.lang.MultiFn.invoke(MultiFn.java:161)
	at autodoc.copy_statics$copy_default_statics__2273.invoke(copy_statics.clj:25)
	at autodoc.copy_statics$copy_statics__2291.invoke(copy_statics.clj:41)
	at autodoc.autodoc$build_html__2297.doInvoke(autodoc.clj:21)
	at clojure.lang.RestFn.invoke(RestFn.java:402)
	at clojure.lang.Var.invoke(Var.java:355)
	at clojure.lang.AFn.applyToHelper(AFn.java:171)
	at clojure.lang.Var.applyTo(Var.java:476)
	at clojure.core$apply__4370.invoke(core.clj:436)
	at autodoc.autodoc$autodoc__2333.doInvoke(autodoc.clj:67)
	at clojure.lang.RestFn.invoke(RestFn.java:430)
	at autodoc.autodoc$autodoc__2333.invoke(autodoc.clj:56)
	at user$eval__2347.invoke(autodoc2783495861630139451.clj:2)
	at clojure.lang.Compiler.eval(Compiler.java:4642)
	... 10 more

See full build.log file for the autodoc-1.1 module here

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

1 participant