-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main class not found #5
Comments
Please reply asap. Its urgent! |
just built the project and deployed it to tomcat 9, it's working fine. |
I mean I am getting this error after running on tomcat 9can you please elaborate steps |
Hi @vaishalilambe, do you have configure the context path with /petclinic? |
Nope I didn’t configure it is taking that by default I am trying to figure
out but not able to find where it is
…On Thu, Apr 19, 2018 at 12:51 PM Antoine Rey ***@***.***> wrote:
Hoi @vaishalilambe <https://github.com/vaishalilambe>, do you have
configure the context path with /petclinic?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX4mjf3imxWlXN-xp8VQXxoZ0hmrsBmeks5tqMCsgaJpZM4TZT2o>
.
|
Just downloaded the project, click run on server -> tomcat 9, and it opens this page. Please guide me I am not able to figure it out |
I removed that context root and just replaced with "/" still doesn't work |
BTW I am running it from STS |
Could you please give us your stackstrace?
With Java 9, you have to add the bellow JVM option :
|
@vaishalilambe could you try to |
Sorry but your screenshot does not look like the Spring Framework Petclinic one's. |
It is spring pet clinic I just added additional screens to it. I will run
and provide you additional info in a while. I need input from you on data
base connectivity. I have MySQL workbench installed on my system .what
modifications I need to do to achieve database connectivity with my
database
…On Sun, Apr 22, 2018 at 7:08 AM Antoine Rey ***@***.***> wrote:
Sorry but your screenshot does not look like the Spring Framework
Petclinic one's.
Do you have any startup log?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX4mjZ6R6wKterr9a0GjlEX05T_HP4n6ks5trGS0gaJpZM4TZT2o>
.
|
The readme gives you some information to run with a MySQL database instead of the HSQL default one: https://github.com/spring-petclinic/spring-framework-petclinic/blob/master/readme.md |
So for my local database what change I need to do as in Pom .xml it refers
to jdbc url of spring
…On Sun, Apr 22, 2018 at 10:31 AM Antoine Rey ***@***.***> wrote:
The readme gives you some information to run with a MySQL database insteaf
of the HSQL default one:
https://github.com/spring-petclinic/spring-framework-petclinic/blob/master/readme.md
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX4mjVBLn78Itz2-g87Pmqy6whFXCX6Tks5trJQxgaJpZM4TZT2o>
.
|
Yes, you have to add the mysql JDBC driver and configure the |
Can you please elaborate more . I am completely new to this and not able to
understand.
…On Sun, Apr 22, 2018 at 10:35 AM Antoine Rey ***@***.***> wrote:
Yes, you have to add the mysql JDBC driver and configure the
data-access.properties.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX4mjUWipNG_QFZCL0zdbQlSuxN-occEks5trJVKgaJpZM4TZT2o>
.
|
My build is failed with errors when tried to run it with mysql
PFA screenshot
On Sun, Apr 22, 2018 at 10:36 AM, Vaishali Lambe <lambe.v@husky.neu.edu>
wrote:
… Can you please elaborate more . I am completely new to this and not able
to understand.
On Sun, Apr 22, 2018 at 10:35 AM Antoine Rey ***@***.***>
wrote:
> Yes, you have to add the mysql JDBC driver and configure the
> data-access.properties.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#5 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AX4mjUWipNG_QFZCL0zdbQlSuxN-occEks5trJVKgaJpZM4TZT2o>
> .
>
|
Should be fixed. Please reopen this issue if the problem persists. |
Hi ,
I am new to spring framework and cloned your code. While running it on server it is giving me HTTP 404 . Can you please see
The text was updated successfully, but these errors were encountered: