-
Notifications
You must be signed in to change notification settings - Fork 71
Configurationspecialebeanjboss7
dlecan edited this page Sep 8, 2014
·
2 revisions
Play2 uses Reflections framework to scan classpath, index the metadata, allow to query it on runtime and may save and collect that information for many modules within a project.
Play2 projects with EBean persistence require Reflection features.
JBoss 7 uses an abstraction for File System access, named JBoss VFS. Unfortunately, Reflections and JBoss VFS doesn't work together.
So, to deploy Play2 projects with EBean persistence on JBoss 7, you will need an integration between Reflection framework and JBoss VFS.
This can be done by adding a new dependency to your project (Scala 2.9 or 2.10 only):
val appDependencies = Seq(
// ... Actual dependencies
"com.github.play2war.ext" %% "jboss7-reflections-vfs-integration-play2" % "1.0.0" // add this after your others dependencies
)