multi-tenant / grails-multi-tenant-single-db

Multi Tenant implementation for single database environments - Use grails-filtering and grails-hibernate-hijacker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems occurred when installing plugin

pbranco79 opened this issue · comments

Hi,
I am still trying to make this plugin to work. I have Searchable plugin installed. When trying to install this plugin I get the error below. Thanks in advanced for any help provided!!!

Problems occurred (un)installing plugins. See details for more information
------System.out:-----------
| Loading Grails 2.0.4
| Configuring classpath.
| Environment set to development.....
| Installing zip hawk-eventing-0.5.1.zip.....
| Installed plugin hawk-eventing-0.5.1
| Resolving plugin JAR dependencies.....
| Installing zip hibernate-hijacker-0.8.1.zip.....
| Installed plugin hibernate-hijacker-0.8.1
| Resolving plugin JAR dependencies.....
| Compiling 283 source files.
| Error Compilation error: startup failed:
Compile error during compilation with javac.
C:\Users\brancop.grails\2.0.4\projects\RudaInventory\plugins\hibernate-hijacker-0.8.1\src\java\grails\plugin\hibernatehijacker\hibernate\events\HibernateEventListener.java:58: error: no suitable method found for publishEvent(String,PreUpdateEvent,Object)
publishEvent("preUpdate", event, event.getEntity());
^
method HibernateEventListener.publishEvent(String,AbstractEvent,Object) is not applicable
(actual argument PreUpdateEvent cannot be converted to AbstractEvent by method invocation conversion)
method HibernateEventListener.publishEvent(String,AbstractEvent) is not applicable
(actual and formal argument lists differ in length)
C:\Users\brancop.grails\2.0.4\projects\RudaInventory\plugins\hibernate-hijacker-0.8.1\src\java\grails\plugin\hibernatehijacker\hibernate\events\HibernateEventListener.java:69: error: no suitable method found for publishEvent(String,PreInsertEvent,Object)
publishEvent("preInsert", event, event.getEntity());
^
method HibernateEventListener.publishEvent(String,AbstractEvent,Object) is not applicable
(actual argument PreInsertEvent cannot be converted to AbstractEvent by method invocation conversion)
method HibernateEventListener.publishEvent(String,AbstractEvent) is not applicable
(actual and formal argument lists differ in length)
C:\Users\brancop.grails\2.0.4\projects\RudaInventory\plugins\hibernate-hijacker-0.8.1\src\java\grails\plugin\hibernatehijacker\hibernate\events\HibernateEventListener.java:75: error: no suitable method found for publishEvent(String,PreDeleteEvent,Object)
publishEvent("preDelete", event, event.getEntity());
^
method HibernateEventListener.publishEvent(String,AbstractEvent,Object) is not applicable
(actual argument PreDeleteEvent cannot be converted to AbstractEvent by method invocation conversion)
method HibernateEventListener.publishEvent(String,AbstractEvent) is not applicable
(actual and formal argument lists differ in length)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
1 error
------System.err:-----------

CONSOLE OUTPUT:
| Loading Grails 2.0.4
| Configuring classpath.
| Environment set to development.....
| Resolving plugin multi-tenant-single-db. Please wait...
| Downloading: multi-tenant-single-db-0.8.3.pom.sha1
| Downloading: grails-multi-tenant-single-db-0.8.3.zip.sha1
| Installing zip multi-tenant-single-db-0.8.3.zip.....
| Installed plugin multi-tenant-single-db-0.8.3
| Resolving plugin JAR dependencies


  • You've installed the Multi Tenant Single DB plugin. *
  •                                                   *
    
  • The plugin requires some additional steps to enable *
  • multi tenant behavior. *
  •                                                   *
    
  • Run the "mt-quickstart" script to initialize a simple *
  • tenant, repository and resolver.                  *
    
  • Or, run the "mt-spring-security" script to generate a *
  • tenant, repository and resolver that work with    *
    
  • the spring-security-core plugin.                  *
    
  •                                                   *
    

| Resolving plugin JAR dependencies.....
| Plugin installed.

Trying to run the app, getting the same error.

Run already "clean"
Please any help is really welcome - I am stuck on the multi tenant issues :(
thank you
Paulo