Comments (3)
Hi Steffen,
Thanks for you interest in EMF-REST. Do you get the NullPointerException while using your model or the example model?
You're right about the genmodel file. We create a custom genmodel file because we're not using the default JET templates to generate the domain classes. We extend the default JET templates to add all the required features for REST(i.e. JAXB annotations) and Validation (i.e., OCL interpreter). So we have to create a genmodel model and declare the location of our JET templates. Please take a look at the file https://github.com/emf-rest/emf-rest/blob/master/emf-rest-src/emf-rest/src/com/emf/rest/EMFGenerator.java. You can customize this class to add your genmodel properties.
Regards,
Hamza
from emf-rest.
I have the same problem. It seems this plugin expects that src/main/webapp existst. Unfortunately I think this is not documented.
from emf-rest.
The generator does create the src/main/webapp folder.
I close this issue due to insufficient resources to identify the problem.
from emf-rest.
Related Issues (13)
- Example won't build.. HOT 11
- Java classes not generated completely HOT 1
- org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException HOT 4
- Feature request: swagger docs HOT 1
- NPE HOT 9
- http://emf-rest.com/ does not resolve. HOT 2
- Documentation outdated
- Updatesite offline HOT 1
- NullPointerException when generating code HOT 5
- Compile errors in generated Java code HOT 6
- Error when generatin code HOT 3
- Live demo is down HOT 2
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 emf-rest.