Comments (6)
I kind of have the similar problem.
I am a newbie myself so forgive if this is something stupid.
I am trying something different. I copied the sources in my play project (2.3.1) hoping I can fix the issues and see if I can get this directly integrated.
[error] /workroot/app/play/utils/crud/views/edit.scala.html:13: value RouterCrudController is not a member of object play.utils.crud.routes
[error] @Form(if(key != null) { play.utils.crud.routes.RouterCrudController.update(model.getName, key + "") }
[error] ^
[error] /workroot/app/play/utils/crud/views/index.scala.html:23: value RouterCrudController is not a member of object play.utils.crud.routes
[error] @Messages(item)
[error] ^
[error] /workroot/app/play/utils/crud/views/list.scala.html:16: value RouterCrudController is not a member of object play.utils.crud.routes
[error]
@Messages("crud.createNew")
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:13: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:14: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:15: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:16: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:17: value Assets is not a member of object play.utils.crud.routes
[error]
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:46: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/json2.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:47: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/jquery-1.7.1.min.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:48: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/bootstrap.min.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:49: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/jasny-bootstrap.min.js")' type="text/javascript"></script>
[error] ^
[error] /workroot/app/play/utils/crud/views/template/layout.scala.html:50: value Assets is not a member of object play.utils.crud.routes
[error] <script src='@play.utils.crud.routes.Assets.at("javascripts/play2-crud.js")' type="text/javascript"></script>
I even tried to change this by removing routes in this but it didn't help (obviously).
So I am confused. Why does this code has routes in it when there does not seems to be any such package. If this is referring to the "routes" file then that also does not have the same naming/package. So how will this resolve?
Please help.
from play2-crud.
How do you compile? Which play version on which platform? Which version of play2-crud?
If you can provide some details, I can try to help.
from play2-crud.
Hi, I was using 2.3.x version. To compile: activator compile
from play2-crud.
hi there, at the end I gave up on that example. I´ve started following a
book instead in my spare time, decided to learn scala and use it for a
small project.
On 18 September 2014 13:15, Amit Jindal [email protected] wrote:
Hi, I was using 2.3.x version. To compile: activator compile
Reply to this email directly or view it on GitHub
#39 (comment)
.
from play2-crud.
@amitjindal integration is quite straightforward. please upgrade to the latest play2-crud version and use one of the sample projects as your starting point.
from play2-crud.
@jaroinz i wish you luck on your journey. 👍
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
- Not working with 2.3 HOT 3
- 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.