Originally when I tried to upgrade to grails 1.2.2, I kept running into an error that I did not face in grails 1.2.1 which was an java.lang.NoClassDefFoundError: org.apache.commons.lang.ArrayUtils
Read the rest of this entry »
VN:F [1.9.1_1087]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.1_1087]
I have been trying to change my webservice implementation from org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean to use org.springframework.ws.client.core.WebServiceTemplate instead. But during this effort, I did not import spring-ws-2.0.0-M1-all.jar that would provide those Classes. I assumed that I would get a descriptive error when I encountered a ClassNotFound issue but I have not.
Read the rest of this entry »
VN:F [1.9.1_1087]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.1_1087]
I was having issues trying to get my Spring DSL to operate in ./grails-app/spring/resources.groovy. I have been able to use XML formatting in resources.xml, but I wanted to leverage groovy as well as be able to replace certain beans based on environment such as using Mock objects during test.
Read the rest of this entry »
VN:F [1.9.1_1087]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.1_1087]
I have gone through several books and countless Blogs to try to get a valid working WAR that would access my external configuration files, both .properties and .groovy files.
Read the rest of this entry »
VN:F [1.9.1_1087]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.1_1087]
I started a new Grails project recently, and I found Canoo’s WebTest extremely easy to get working. I was even able to get Cobertura code coverage integrated to my WebTests. I found there where several error conditions that I did not test in my code. So I really wanted to simulate error POST method invocations with WebTest. Read the rest of this entry »
VN:F [1.9.1_1087]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.1_1087]