Skip to content
New issue

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

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

Already on GitHub? # to your account

ClassDefNot found exception requiring bosquet #29

Closed
behrica opened this issue Sep 9, 2023 · 7 comments
Closed

ClassDefNot found exception requiring bosquet #29

behrica opened this issue Sep 9, 2023 · 7 comments
Assignees

Comments

@behrica
Copy link
Contributor

behrica commented Sep 9, 2023

using 0.3.6 I get a exception requiring the 'bosquet.generator" namespace:

(require '[bosquet.generator :as bg])
Execution error (FileNotFoundException) at selmer.tags/loading (tags.clj:1).
Could not locate selmer/node__init.class, selmer/node.clj or selmer/node.cljc on classpath.

deps.edn:

{:deps {io.github.zmedelis/bosquet {:mvn/version "0.3.6"}}}

on Linux

@behrica
Copy link
Contributor Author

behrica commented Sep 9, 2023

Strangely it works when inside the bosquet source code (on tag v0.3.6)
(The above is in a project which is using bosquet)

@behrica
Copy link
Contributor Author

behrica commented Sep 9, 2023

I think the issue is that the git dependeny to selmer is not "transitive" resolved when using a mvn dependency to bosquet.

@behrica
Copy link
Contributor Author

behrica commented Sep 9, 2023

Indeed, with this deps.edn it work:

{:deps {io.github.zmedelis/bosquet {:mvn/version "0.3.6"}
            zmedelis/Selmer            {:git/url "https://github.com/zmedelis/Selmer"
                                                    :git/sha "88fc2b51817e1ad67f0458c75857222a72db4945"}}}

@zmedelis
Copy link
Owner

I think the issue is that the git dependeny to selmer is not "transitive" resolved when using a mvn dependency to bosquet.

Yes POM can't deal with that. I will make my Selmer fork release and refer to that

@behrica
Copy link
Contributor Author

behrica commented Sep 11, 2023

or you do not release on Clojars, but document how to access releases via GIT coordinates in deps.edn,

@zmedelis zmedelis self-assigned this Sep 11, 2023
zmedelis added a commit that referenced this issue Sep 11, 2023
@zmedelis
Copy link
Owner

The commit addresses this. Not closing the issue till I make a new Bosqute release with a few more fixes to the critical issues you reported.

@zmedelis
Copy link
Owner

Addressed in the v0.3.7 release.

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

No branches or pull requests

2 participants