What I'm saying is the app namespace is looking for www.springframework.org. This is being re-directed to www.springsource.org where the file should be and isn't.
What jar files should I include...
Type: Posts; User: thehl; Keyword(s):
What I'm saying is the app namespace is looking for www.springframework.org. This is being re-directed to www.springsource.org where the file should be and isn't.
What jar files should I include...
www.springframework.org is being redirected to www.springsource.org which is misssing.
I have a client who is running our software with Spring Framework 2.5.6. They say that, on startup, they are looking for file http://www.springsource.org/tx/spring-tx-2.5.xsd but this file is not...
NEVER AGAIN! But I understand why you say that.
Thanks for the advice. I simply updated hibernate3.jar and everything appears to be working properly. Thanks for the help.
Sorry about the small jpg. I uploaded a png, it must have translated and shrunk.
Do I just replace hibernate3.jar?
I'm having an issue with hibernate under spring. It doesn't appear to be finding my hibernate validator. Here is the stack trace:
357 [main] INFO org.hibernate.cfg.Configuration - Hibernate...
Sorry, I'm an idiot. I'm running the wrong query.
OK, I'm having problems with the following query:
@NamedQuery(name = SecurityRole.QUERY_BY_USER_SENSOR, query = "SELECT secRole " +
"FROM SecurityRole AS secRole,...
The issue appears to have been that logout wasn't returning anything. As a result, the handler was trying to resolve something to display back to the user and couldn't so returned a 404. The logout...
I have two methods within the same servlet controller. They are:
@RequestMapping(NAME_API_LOGIN)
@ResponseBody()
public ResponseEntity<String> login(@RequestParam(KEY_USER) String user,...
It's been a while, but I use Hypersonic for testing and MS SQL for production and I think I had the wrong dialect and that caused the issue.
UUID was chosen by another project and we copied it. It...
Found it. I need to use getContentAsByteArray()
Thanks.
Hello,
I'm writing a unit test for my servlet using Spring 3.0.5. My servlet writes an XML file directory to the response Writer object by calling getWriter(). How do I get this data back so I can...
In my case, I used SQL profiler to view the queries and the parameters on the DB side. Life is good.
Thanks for the help, GMA.
Aha! When I didn't see that I was using that one, I thought it was simply we were doing different things.
So I made that change and stripped out all references to commons-logging, put in the...
I am trusting because you are telling me this that this will be OK with Hibernate. Currently, I'm getting the following error on my build after I remove commons-logging
[junit] Testcase:...
MY debugs are going through logging-commons and are showing on the console. I have both log4j and slf4j in my classpath. I would like to be using log4j and something required slf4j. So it is...
I'm starting to think there's something wrong with my log4j file. I added logging for jtds, which is supposed to show the parameter and that's not getting 'er done either. Anyone see anything wrong?...
I guess I've only seen Oracle up until now and their JDBC driver's so screwed up, I wouldn't recommend anyone else using their approach.
As to the other, poop!:( I was hoping I had just not...
No, the SQL with the ? is the one sent to the JDBC driver. The JDBC driver then USUALLY converts that to SQL with the parameters inlined. I appreciate, though, that hibernate cannnot show the full...
I am using Spring 3 with hibernate and am running queries against my SQL server database. I'd like to see the actual SQL that was run, not the one that hibernate spits out because it doesn't have the...
Nevermind. Figured it out. Had the sensor ID twice essentially. It must have been confusing the compiler.
1080 [main] ERROR org.hibernate.hql.PARSER - Invalid path: 'null.id'
1080 [main] ERROR org.hibernate.hql.PARSER - <AST>:0:0: unexpected end of subtree
1080 [main] ERROR org.hibernate.hql.PARSER - ...
After experimenting, you simply pass in WebRequest as a parameter on your method.
the issue was being caused by bad characters in one of the parameters like, "?" that was screwing up the rest of...
OK, Spring is now calling my controller, but I'm getting the following message:
[08/03/11 11:15:09:009 EST] DEBUG annotation.AnnotationMethodHandlerExceptionResolver: Resolving exception from...