Skip to content

Instantly share code, notes, and snippets.

Caused by: org.hibernate.MappingException: Could not determine type for: ....., at table: test, for columns: [...]
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:454)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:421)
at org.hibernate.mapping.Property.isValid(Property.java:226)
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:595)
at org.hibernate.mapping.RootClass.validate(RootClass.java:265)
at org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:329)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:464)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:711)
at org.grails.orm.hibernate.cfg.HibernateMappingContextConfiguration.buildSessionFactory(HibernateMappingContextConfiguration.java:259)
@tmysik
tmysik / gist:5099594aa029d921b67acc8985567679
Created June 7, 2018 08:37
Exception while running Grails 2.x app with GraalVM 1.0 RC1
|Loading Grails 2.5.6
Error |
java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira
Error |
at org.springsource.loaded.agent.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:110)
Error |
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
Error |
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
Error |
@tmysik
tmysik / gist:b4b2dfaa8a520efe170e0ad467cbe78d
Last active June 7, 2018 08:33
Exception while running Grails 2.x app with GraalVM 1.0 RC2
java.lang.NoClassDefFoundError: org/springsource/loaded/ri/ReflectiveInterceptor
at jdk.vm.ci.hotspot.UnsafeAccess.initUnsafe(UnsafeAccess.java:43)
at jdk.vm.ci.hotspot.UnsafeAccess.<clinit>(UnsafeAccess.java:34)
at jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.getHolder(HotSpotResolvedJavaMethodImpl.java:93)
at jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.fromMetaspace(HotSpotResolvedJavaMethodImpl.java:110)
Caused by: java.lang.ClassNotFoundException: org.springsource.loaded.ri.ReflectiveInterceptor
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
### Keybase proof
I hereby claim:
* I am tmysik on github.
* I am tmysik (https://keybase.io/tmysik) on keybase.
* I have a public key whose fingerprint is CACF EF3B 7038 6755 D58C DA92 718D 1BC9 6500 5ABC
To claim this, I am signing this object:
@tmysik
tmysik / ListGists.java
Created March 4, 2014 12:37 — forked from jtulach/ListGists.java
Networking with JSON and Java
package dew.demo.gists;
import java.util.Arrays;
import net.java.html.json.*;
@Model(className="UI", properties={
@Property(name="user",type=String.class),
@Property(name="gists",type=Gist.class, array = true)
})
class ListGists {