exception « playframework « Java Enterprise Q&A

Home
Java Enterprise Q&A
1.activemq
2.Ant
3.aspectj
4.axis
5.cxf
6.deploy
7.Development
8.ear
9.eclipse
10.ehcache
11.ejb
12.flex
13.grails
14.jax
15.jaxb
16.JBoss
17.jbpm
18.jdo
19.jersey
20.jetty
21.jms
22.jmx
23.jndi
24.junit
25.ldap
26.Library
27.log4j
28.netbeans
29.osgi
30.playframework
31.portlet
32.quartz
33.rabbitmq
34.restful
35.security
36.Session
37.soap
38.tapestry
39.Web Service
40.weblogic
41.websphere
42.wicket
43.workflow
44.wsdl
Java Enterprise Q&A » playframework » exception 

1. Unexpected error using newRequest in FunctionalTests    stackoverflow.com

I don't understand why I have this error. When I use newRequest, I have a RuntimeException when calling the makeRequest(request); method. The exception message is : "play.mvc.results.NotFound : POST /" But what is odd, is ...

2. Java Play Framework UnexpectedException applying PropertiesEnhancer    stackoverflow.com

I get the following error on compile: An unexpected error occured caused by exception UnexpectedException: While applying class play.classloading.enhancers.PropertiesEnhancer on controllers.xxxxx I've narrowed it down to the following line in my controller: String sender_alert_string = ...

3. playframework problem with routes:NoRouteFoundException    stackoverflow.com

Trying out the custom editor portion in play tutorial,I created the routes as below

GET     /admin/myPosts/{id}             ...

4. WSRequest in FunctionalTest would end up timeout    stackoverflow.com

I have the following functional test. For some reason, the get() call always end up getting a java.util.concurrent.TimeoutException: No response received after 60000ms. Any insights? Also, I tried the same url ...

5. Unplanned Exception play.classloading.enhancers.PropertiesEnhancer    stackoverflow.com

I'm using the play framework for a few separate projects and have run into this more than once. I get the following error message on startup: An unexpected error occured caused ...

6. Persistence Exception when using pojo binding in play framework controller    stackoverflow.com

I have the following entity:

@Entity
public class Client extends Model{
   public String email;
   public String password;
}
I have the following controller :
public static void  clientSignUp(models.Client client)
{
  ...

7. Unhandled exception type NoSuchFieldException (java reflection)    stackoverflow.com

I am using Play Framework about 1 month and it is a great thing, but I had one big problem . I`ve try to run following code in secure controller:

MyModel myModel = MyModel.all().first(); ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.