Closed GoogleCodeExporter closed 9 years ago
This is a bug, but it occurs because you probably have some kind of ebean
configuration error.
"ebean-enhance" mojo searches for class files in nonexistent directory.
You are calling it when the directory does not exist yet or you have it
misconfigured somehow.
1.0.0-alpha6 handles this case differently, catching such errors silently
(https://play2-maven-plugin.googlecode.com/svn/mavensite/1.0.0-alpha6/play2-prov
iders/play2-provider-play22/xref/com/google/code/play2/provider/play22/Play22Ebe
anEnhancer.html#L65). I changed implementation in 1.0.0-alpha7 for some reasons
(including not catching all throwables without any action) and I didn't handle
all cases properly.
To find how to fix it in your case I need to know why "ebean-enhance" mojo
searches for classes to enhance in nonexistent directory.
Can you attach log file from Maven execution with "-X" flag?
What's your "ebean.default" setting value in "conf/application.conf" file?
Is it proper, do such files exist in your project?
Original comment by gslowiko...@gmail.com
on 11 Jun 2014 at 6:34
https://code.google.com/p/play2-maven-plugin/source/detail?r=667 - issue fixed
1.0.0-alpha8-SNAPSHOT snapshot deployed. Can you try? Read "Using plugin
SNAPSHOT versions" section in [Usage Usage] wiki page.
I'm still waiting for more details about your configuration.
Original comment by gslowiko...@gmail.com
on 12 Jun 2014 at 1:29
Original comment by gslowiko...@gmail.com
on 12 Jun 2014 at 1:30
I am facing the same issue and I am attaching my log. Please solve this issue ,
Also if you need any further information tell me.
Original comment by coolbhus...@gmail.com
on 7 Aug 2014 at 2:01
Attachments:
Well for me its issue with play ebean configuration. I am using two databases
and created two ebean servers. so i just commented the second server and it
worked. I am working now to provide second server by dynamically. Please look
into this issue. If you need any further information please ask me.
Thanks
Bhushan
Original comment by coolbhus...@gmail.com
on 7 Aug 2014 at 3:58
Try to use 1.0.0-alpha8-SNAPSHOT version of the plugin. Read "Using plugin
SNAPSHOT versions" section in "Usage" wiki page.
Original comment by gslowiko...@gmail.com
on 7 Aug 2014 at 9:01
Version 1.0.0-alpha8 released.
Original comment by gslowiko...@gmail.com
on 25 Aug 2014 at 7:16
Thank you very much
Original comment by coolbhus...@gmail.com
on 27 Aug 2014 at 7:13
Does it work now?
Original comment by gslowiko...@gmail.com
on 27 Aug 2014 at 8:09
Original issue reported on code.google.com by
lramo...@gmail.com
on 10 Jun 2014 at 12:08