Comments (3)
Hi Łukasz, thanks for letting me know. Can you help with this one?
from play2-crud.
I can try, but I don't know Scala, and I'm just starting with Play. When I add boolean (for testing) to controllers.Assets.at(path, file, false/true), this problem disappears, but another one (in Scala) appear.
from play2-crud.
I recently switched a project which version was 2.3 to version 2.2 in order to use play2-crud.
Configuration
Switching from to another was quite a nightmare. I ended up copy paste almost every conf file of the activator sample project of play2-crud.
Play 2.3 configuration file
build.sbt
name := """appGestion"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.1"
resolvers += "jBCrypt Repository" at "http://repo1.maven.org/maven2/org/"
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
javaWs,
"mysql" % "mysql-connector-java" % "5.1.+",
"org.mindrot" % "jbcrypt" % "0.3m"
)
plugin.sbt
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.1")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.0.0")
Play 2.2 configuration file
build.sbt
name := """appGestion"""
version := "0.7.3-SNAPSHOT"
scalaVersion := "2.10.1"
resolvers += "jBCrypt Repository" at "http://repo1.maven.org/maven2/org/"
libraryDependencies ++= Seq(
javaJdbc, javaCore,
javaEbean,
cache,
"mysql" % "mysql-connector-java" % "5.1.+",
"org.mindrot" % "jbcrypt" % "0.3m",
"play2-crud" % "play2-crud_2.10" % "0.7.3-SNAPSHOT"
)
play.Project.playJavaSettings
resolvers += "release repository" at "http://hakandilek.github.com/maven-repo/releases/"
resolvers += "snapshot repository" at "http://hakandilek.github.com/maven-repo/snapshots/"
plugin.sbt
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.2")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.0.0")
This are the two main file I had to change. I don't exactly remembered the other changes and I never knew if this changes were relevant.
Issues
Becausse of the downgrade, here is some of the issue I had to face:
removing twirl import. Not that important since I used this import to create a less-effective implementation of crud2-play.
Using the deprecated class SimpleResult. We use this class in the actions for example (which can't be used in the CRUDController, another issue about it later).
Using the deprecated play.mvc.Content class.
Hope it will help you upgrade to the version 2.3. This will make this plugin even better !
from play2-crud.
Related Issues (20)
- Custom pages HOT 2
- SimpleForm Exception HOT 9
- Guice configuration errors: Could not find suitable constructor in controllers HOT 5
- Update HOT 3
- value RouterCrudController is not a member HOT 6
- GlobalCRUDSettings onStart is not working HOT 3
- Guice warning while extending CRUDController HOT 1
- Wrong Parameter type for the editForm method HOT 3
- Unresolved dependency error HOT 9
- generate a select tag? HOT 1
- Multiple database servers support HOT 1
- Project status? HOT 2
- Extension for Twixt HOT 3
- CRUDControllers in a module fail to render HOT 4
- NumberFormatException: null when using the create REST API controller
- Problem run-time with Java 6 HOT 1
- java.lang.NullPointerException when attempting to edit entity HOT 1
- Can not get play2-crud working with Play 2.5.1 + Scala 2.11.7 HOT 1
- DepShield Deprecation Notice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play2-crud.