Comments (9)
I had to configure the project as a Scala project in Eclipse to get it to work. We should remove the workaround when this issue is fixed
from online-auction-java.
@jroper Should I replace the scala code?
from online-auction-java.
I don't think it's possible to replace - you can't supply a package level implicit field constructor with Java since Java doesn't support implicits.
from online-auction-java.
@jroper Hello Sir, I got a doubt. Then how is this project a java if we are forced to use scala in middle.
from online-auction-java.
The project also use JavaScript, HTML, CSS, XML, and a number of other languages. The templating language used, twirl, is based on Scala. The build file uses Scala. It's very common for applications to use multiple languages, even if they primarily use one language.
from online-auction-java.
One difference is that Java and Scala are compiled together and the Java code doesn't work without the Scala code. That means you can't edit the Java code in your IDE without Scala support installed
I've never used Play's internationalization stuff before, so unfortunately I don't have any suggestions on other solutions for this.
from online-auction-java.
That's actually not the case here - the Scala code is only used by the twirl templates. If we weren't using twirl templates, this code would not be needed. So Scala support is needed in the IDE because we're using twirl, not because of this Scala code.
from online-auction-java.
@jroper Thanks for info :)
So this issue should be closed?
from online-auction-java.
I guess so.
from online-auction-java.
Related Issues (20)
- Logout causes (UI and logs) exception HOT 1
- event store uniqueness , saga ,optimistic ui updates HOT 1
- TransportException on home page HOT 2
- Nav controller initialization failure in Japan locale HOT 1
- InvalidQueryException: Cannot execute this query as it might involve data filtering and thus may have unpredictable performance. HOT 1
- sbt runAll raise errro Unknown CF HOT 1
- logback stacktrace (NPE) when running in devmode HOT 3
- Disable java serialization completely HOT 1
- Add integration tests on Bidding Service
- Add LO4K8s instructions (remove ConductR) HOT 1
- Upgrade Elasticsearch to 6.x
- Replace the deprecated JavaTestKit with current equivalent
- Search service api expects a request body for GET request
- Replace ReadSideTestDriver with testkit-provided
- Cleanup Service descriptor for SearchService
- Upgrade to Lagom 1.5 HOT 1
- Upgrade to JUnit 5
- Fine tune Kafka logger levels
- Setup mergify
- Setup probot-settings
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 online-auction-java.