VRaptor Basic Crud App says resource not found on deployment

15 views
Skip to first unread message

nazaf anwar

unread,
Jan 23, 2017, 3:13:57 PM1/23/17
to caelum-vraptor-en
Hello everyone,

I am kind of newbee to Java web development and i picked up VRaptor as i found it very handy and lightweight compared to other Frameworks. 
I am able to create a basic App to display simple messages as showed in the tutorial/documentation but when i am trying to use MySQL to show data like a couple of rows, it gives me error that resource not found while same App works to display a simple message. Can someone please help me out here? Let me know if i am supposed to provide more details for the same. Thank you. 

Luiz

unread,
Jan 23, 2017, 4:01:56 PM1/23/17
to caelum-v...@googlegroups.com
Hi, Nazaf

Can you please send the complete error message with your controller's code?

Cheers,
Luiz

--
You received this message because you are subscribed to the Google Groups "caelum-vraptor-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caelum-vraptor-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rodrigo Turini

unread,
Jan 25, 2017, 8:48:01 AM1/25/17
to caelum-v...@googlegroups.com
for the future references, that was only a matter of adding the default constructor in the bean 

as stated in dependency inject section of our docs:
"To do so, CDI forces us to implement a default constructor, for example [...]"
-

(I was talking about this with Nazaf in another thread.. the code is working like a charm now)

Kind regards

To unsubscribe from this group and stop receiving emails from it, send an email to caelum-vraptor...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "caelum-vraptor-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caelum-vraptor...@googlegroups.com.

nazaf anwar

unread,
Jan 30, 2017, 7:39:16 AM1/30/17
to caelum-vraptor-en
Hey luiz, I got it working and thanks to Rodrigo for the help. I am working on it to add more fields. I'll post in case i get stuck again. Thanks for the help.
Reply all
Reply to author
Forward
0 new messages