Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialShaik Mehboob Mohammed
3,144 Pointsi have provided connection.url property with correct value but this is throwing an error
the error says connection.url is missing or with incorrect value
<hibernate-configuration>
<session-factory>
<property name="connection.driver_class">org.hsqldb.jdbcDriver<\property>
<property name="connection.url">jdbc:hsqldb::file:./data/treehouse<\property>
<property name="dialect">org.hibernate.dialect.HSQLDialect<\property>
<\session-factory>
<\hibernate-configuration>
1 Answer
KRIS NIKOLAISEN
54,971 PointsYou have two issues
1) Your closing tags should use a forward slash. Ex: </property>
instead of <\property>
2) Your connection.url has an extra colon before the word file. It should be:
jdbc:hsqldb:file:./data/treehouse
instead of
jdbc:hsqldb::file:./data/treehouse