The customer is now insisting that this issue be resolved, even though the overall operation of the web application is not affected by these ClassCastExceptions.
Type: Posts; User: PaoloValladolid; Keyword(s):
The customer is now insisting that this issue be resolved, even though the overall operation of the web application is not affected by these ClassCastExceptions.
I thought I had this figured out in my STS environment but now it cannot find Oracle Instant client for its OCI connection.
I have ORACLE_HOME=C:\oracle\InstantClient\instantclient_11_2 (location...
I'm using the Datatables JQuery component to show search results that are returned from a Spring MVC Controller class.
The Spring 3 MVC support for JSON looks great and I actually got it working...
Hi Rob,
We are required to provide the user with a page in which he/she may change his/her own password, so the code I posted was all in relation to that page (the controller for the page, etc.). ...
I tried having my controller return to a "Password change success" page with a one-button form whose action is set to "/static/j_spring_security_logout". The idea was to force the user to log out...
I missed this earlier. Thanks!
I tried adding a changePassword() to my UserDetailsServiceImpl class, but apparently there is an outstanding bug on the issue of not being able to inject an...
No, what I've been testing is our Change Password page. It has a form with the action URL set to the Request Mapping of my changePassword() method as posted above.
Yes, I'll try debugging...
Thanks, rwinch.
After I stop my web application and restart it, the old password throws a Bad Credentials as expected, and the new password is accepted. But if the web app is not restarted, then...
I read elsewhere in this forum that the following bits of code should be used after the user's password has been successfully changed in the database:
SecurityContext context =...
I met my needs more easily than anticipated. All I had to do was this:
Excerpt of custom UserDetailsServiceImpl class (class AppUser is an @Entity with a @OneToMany relationship to UserRole,...
I have a similar question. The app I'm working on is required to load the user roles from a database table. Unfortunately, this table is not named "Authorities", nor does it have a column named...
Try & instead of & in jspx.
Or you can try wrapping your Javascript code in the <![CDATA[.....]]> tag
The solution that I found until someone corrects me:
Replace
@Configurable
@Entity
@Table(name = "MAIN_PACKAGE")
public class MainPackage {
I have the following classes:
@Configurable
@Entity
@Table(name = "MAIN_PACKAGE")
public class MainPackage {
@OneToOne(targetEntity = Submitter.class, mappedBy = "maingPackage")
Make sure your class has getNewStuff() and setNewStuff() methods.
I forgot to include some config files:
webmvc-config.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans"...
Thank you all. The @Transient annotation solved the issue.
Probably like many here, I have been using my @Entity class objects as form backing objects as well as for database access.
Now I want to add a member to an @Entity class that represents a...
bump for today
The exception stack trace is generated when the server tries to compile the Spring 3.x MVC framework/JSPX code from JSPX to HTML. Currently, it compiles the following
<form:form...
Has anyone succeeded in running a Spring 3.x webapp under pre-Weblogic Oracle Application Server or OC4J? Unfortunately our customer is using pre-Weblogic Oracle Application Server, so we have to...
Yes, the Roo Shell was running inside my STS environment. I restarted STS several times before I decided to do the Push In Refactor.
I tried this. Deleting the .aj files introduced more bugs. Refreshing my project in STS and doing a clean build did not recreate the .aj files.
I decided to do a Refactor->Push In and move on...
I've decided to do a Refactor->Push In and get out of using Roo/AspectJ altogether.
The failure of Roo to update the .aj files as I make changes to entity classes has cost me too much development...
I am using STS 2.3.3.M1.
Every time I start up STS, the Roo Shell says it needs persistence setup to be run. Otherwise, commands such as
controller scaffold --class ~.web.MyNewController
...