Hello! Is your project on github? Could I take a look at it?

Em sexta-feira, 14 de maio de 2021 às 06:43:50 UTC-3, [email protected] 
escreveu:

> Hi,
>
> I have this error when I try to connect to H2 in embedded mode:
>
> *> 27sec 561ms > * > CLI v5.2.1 > 06:13 PM > ~/coldbox-examples/testApp/ > 
> testApp (1.0.0) > lucee 5.3.7 (stopped) > > migrate up ERROR (5.2.1+00295) 
> Unable to resolve com.h2database [106](R 106.0): missing requirement 
> [com.h2database [106](R 106.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)) Unresolved 
> requirements: [[com.h2database [106](R 106.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0))] caused by: 
> org.osgi.framework.BundleException Unable to resolve com.h2database [106](R 
> 106.0): missing requirement [com.h2database [106](R 106.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)) Unresolved 
> requirements: [[com.h2database [106](R 106.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0))] 
> /Users/elena/.CommandBox/cfml/modules/commandbox-migrations/modules/cfmigrations/modules/qb/models/Grammars/AutoDiscover.cfc:
>  
> line 7 5: 6: function autoDiscoverGrammar() { 7: cfdbinfo( type = 
> "Version", name = "local.dbInfo" ); 8: 9: switch ( 
> dbInfo.DATABASE_PRODUCTNAME ) {*
>
> This are my settings:
>
> "cfmigrations":{
> "migrationsDirectory":"resources/database/migrations",
> "schema":"INFORMATION_SCHEMA",
> "connectionInfo":{
> "bundleName":"*com.h2database*",
> "bundleVersion":"*1.4.200*",
> "password":"",
> "connectionString":"
> *jdbc:h2:/Users/elena/coldbox-examples/testApp/database/appDB;MODE=MySQL;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE;*
> ",
> "class":"*org.h2.Driver*",
> "username":""
> },
> "defaultGrammar":"AutoDiscover@qb"
> }
>
> I'm trying to init migration from command-box cli for my coldbox 
> application.
>
> has anyone ever had such a mistake?
>
> Thank you,
> Elena.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/74eb88da-949b-4861-a853-88513f81a1a3n%40googlegroups.com.

Reply via email to