in sbt.build add to libraryDependencies += "com.google.code.gson" % "gson" % "2.2.4" but when doing deploy in intellij with the command: 'activator clean stage' and raise the server, the following error appears: enter image description here
java.lang.NoClassDefFoundError : com/google/gson/JsonElement on playframework does not work when starting the server
152 Views Asked by Azael Gutierrez At
1
There are 1 best solutions below
Related Questions in PLAYFRAMEWORK-2.5
- Not able to make postgres database call on heroku using Play Framework Application
- How to force https on routes play framework
- How to restrict website to load only inside an iframe?
- Netty unable to process request after adding Firebase Admin 6.12.2
- Play framework 2.5 will not stream the request into the response
- I have update method to update movie. But When I give data in postman I enter one field then remain fields get null value
- how to call the static variable to non static method, i.e I need to call the maxId variable to insert method
- how to write condition for when I send same movie name in postman i will not accept for same movienames
- how to increment the id value when Json data enter in postman without db using in java play framework ? can anyone help how to generate id values
- java.lang.NoSuchMethodError: io.netty.channel.DefaultChannelId.newInstance()Lio/netty/channel/DefaultChannelId;
- Injecting a class instance in java play scheduler task
- Playfarmework testing: Upload file with Fake Request and mulipartFormData
- How to use 2 datasources with Ebean on a Play Framework 2.5 project?
- Play Framework: No implicit format for Map
- Is there plugins in Play 2.5.x for capturing Request and Response for custom logging purpose?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found the answer, here the solution:
In file generate of play in bin folder, validate the variable APP_CLASSPATH contain all libs routes, so was missing on my installation the file .bat updated. In my case I had only installed the lib and conf folder of my deploy.
Thanks