Hi, I think you will need some external jars, even to build H2. The follow jars are downloaded when you execute './build.sh compile':
- servlet-api-2.4.jar - lucene-core-3.0.2.jar - slf4j-api-1.6.0.jar - org.osgi.core-1.2.0.jar Att, Fred 2012/5/10 Matthias <[email protected]> > Hi all, > > I want to use an H2 database in my Java project, but unfortunately I > can't use any external .jar files. So I thought to simply download the > H2 Java sources and add all these Java packages and Java files > directly into my project source folder. > > However, after doing so I get several build errors in Eclipse for some > of the Java files in the H2 code base. For example, the file > "org.h2.jdbc.JdbcStatement" has the following errors: "The type > JdbcStatement must implement the inherited abstract method > Wrapper.unwrap(Class<T>)". There are also several other errors as > well. > > So my question is: how can or should I properly add the H2 source > files into my Java project? > > Thanks in advance for all your help! > > Kind regards, Matthias > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
