Skip to content

To fix ClassCastException - #1

Open
zhanghuabin wants to merge 1 commit into
clojuresque:masterfrom
zhanghuabin:patch-1
Open

To fix ClassCastException#1
zhanghuabin wants to merge 1 commit into
clojuresque:masterfrom
zhanghuabin:patch-1

Conversation

@zhanghuabin

Copy link
Copy Markdown

[ Issue Description ]

  1. Install clojuresque plugin correctly.
  2. Run clojureRepl task directly.
    Expected Result:
  3. A new NREPL instance should run on port 7888.
    Actual Result:
  4. Throw ClassCastException at line 11 in clojuresque/tasks/repl.clj.

[ Solution ]

  1. Modify ClojureRepl.groovy and transform port to String before calling API.
  2. Modify repl.clj.
    I choose the former.

[ Issue Description ]
1. Install clojuresque plugin correctly.
2. Run clojureRepl task directly.
Expected Result:
1. A new NREPL instance should run on port 7888.
Actual Result:
1. Throw ClassCastException at line 11 in clojuresque/tasks/repl.clj.

[ Solution ]
1. Modify ClojureRepl.groovy and transform port to String before calling API.
2. Modify repl.clj.
I choose the former.
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

Successfully merging this pull request may close these issues.

1 participant