Closed PrashantBahuguna closed 6 years ago
@PrashantB248 Please verify your Database credentials, You have configured wrong username or password of your h2Database to the application.
I have checked, its "prashant" everywhere.
@PrashantB248 the problem is your H2 settings. Change your H2 Database Settings to Generic H2 (Server). so that the JDBC URL will change according to your properties.
The same issue is there..
Your configuration is wrong verify it clearly.
Unable to find the problem..!
Send the snapshot of current application-config.xml and h2 settings
Is there any issue in the DB url ?
your application-context.xml database configuration should be like this.
<!-- database properties DataSouorce -->
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="org.h2.Driver" />
<property name="url" value="jdbc:h2:tcp://localhost/~/test" />
<property name="username" value="prashant" />
<property name="password" value="prashant" />
</bean>
your h2 database settings should be like this.
now stop the server clean the server directory and start it.
Made the changes.
This issue has arised.
reinstall your server
Solved..!! Live and running. Thank You so much for your help.!
Bro..where is the database file?? like,i want the tables
@ChillBoss I hope this will work How to open and export data from h2 bb.
When the application is run on the server this exception is raised in the console. The webpage gets live but when new user is signed up the application crashes with the error : "Could not open connection".![screenshot 34](https://user-images.githubusercontent.com/39057935/39739030-5af23666-52ac-11e8-96d7-7b200a89816a.png)