deploy - Error querying database

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2011 09:03 AM
Hi,
when deploying I get the follow error:
[deploy-bar] SCHWERWIEGEND: Error while closing command context
[deploy-bar] org.apache.ibatis.exceptions.PersistenceException:
[deploy-bar] ### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
[deploy-bar] ### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
[deploy-bar] ### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
Anybody an idea what could be the reason for that?
Thanks
Steffen
when deploying I get the follow error:
[deploy-bar] SCHWERWIEGEND: Error while closing command context
[deploy-bar] org.apache.ibatis.exceptions.PersistenceException:
[deploy-bar] ### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
[deploy-bar] ### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
[deploy-bar] ### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
Anybody an idea what could be the reason for that?
Thanks
Steffen
Labels:
- Labels:
-
Archive
12 REPLIES 12
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2011 02:43 AM
I think that You should enforce a strict dependency on org.apache.ibatis packages (e.g. org.apache.ibatis.transaction;version="3.0.1") because activiti doesn't work for me with 3.0.4 and 3.0.5 packages. Moreover if You download mybatis-3.0.1 You will see that manifest is empty (manifest in 3.0.4 and 3.0.5 looks ok), so to use this package in OSGI environment I had to export the sources through my own bundle (org.apache.ibatis.*;-split-package:=merge-last).

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2011 03:18 AM
Hello Bartas,
Could you share your mybatis-3.0.4 which you already merge (a.k.a running well with activiti 5.3).
I have same problem with mybatis-3.0.4 with exception :
Mapped Statements collection does not contain value for selectProperty
Thanks,
Ryan
Could you share your mybatis-3.0.4 which you already merge (a.k.a running well with activiti 5.3).
I have same problem with mybatis-3.0.4 with exception :
Mapped Statements collection does not contain value for selectProperty
Thanks,
Ryan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2011 10:58 AM
Is this in OSGI environment?
If so, what steps should be taken to fix it (osgi-noob here)
If so, what steps should be taken to fix it (osgi-noob here)
