struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken McWilliams <ken.mcwilli...@gmail.com>
Subject Re: Struts 2 support of Java 8
Date Thu, 11 Dec 2014 19:29:31 GMT
@Paweł, I must admit I had a similar problem, but it was not one with
struts2. When deploying with Glassfish you have to use the latest version
4.1 or lambda expressions in services will cause it to fail. Considering
the 4.1 was very recently released this was a big pain.

On Thu, Dec 11, 2014 at 12:56 AM, Paweł Wielgus <poulwiel@gmail.com> wrote:

> Maybe there is something like i have,
> some module is trying to locate classes that have lambdas in it
> and fails to do so.
>
> In my case i can't have lambdas in Action classes
> but everywhere else is ok.
>
> --
> Pozdrawiam,
> Paweł Wielgus.
> tel: +48 604 603 546
>
>
> 2014-12-11 3:07 GMT+01:00 Greg Lindholm <greg.lindholm@gmail.com>:
> > I'm using Java 8 with Struts 2 and have had no issues.
> >
> > On Wed, Dec 10, 2014 at 1:00 PM, Schlachter, Gary <
> > Gary.Schlachter@sensus.com> wrote:
> >
> >> Yes, it is a Spring 3.1.
> >>
> >> -----Original Message-----
> >> From: Dave Newton [mailto:davelnewton@gmail.com]
> >> Sent: Wednesday, December 10, 2014 12:58 PM
> >> To: Struts Users Mailing List
> >> Subject: Re: Struts 2 support of Java 8
> >>
> >> Are you using Spring?
> >>
> >> This looks like the JavaBeans naming convention wasn't followed.
> >>
> >> On Wed, Dec 10, 2014 at 12:51 PM, Schlachter, Gary <
> >> Gary.Schlachter@sensus.com> wrote:
> >>
> >> > That is what I was looking for.    I upgraded Java 7 to 8 on my
> >> previously
> >> > working Spring/Struts/Tomcat application and ran into the following
> >> > exception:
> >> >
> >> > Unable to instantiate Action, com.sms.web.site.IndexAction,  defined
> >> > for 'Index' in namespace '/'Failed to obtain BeanInfo for class
> >> > [com.sms.web.site.IndexAction]; nested exception is
> >> > java.beans.IntrospectionException: type mismatch between read and
> >> > write methods
> >> >
> >> > I was checking to see if there were any known issues and/or basic
> >> > failures before I spent time digging deeper.
> >> >
> >> > Thanks,
> >> > Gary
> >> >
> >> > -----Original Message-----
> >> > From: Lukasz Lenart [mailto:lukaszlenart@apache.org]
> >> > Sent: Wednesday, December 10, 2014 12:44 PM
> >> > To: Struts Users Mailing List
> >> > Subject: Re: Struts 2 support of Java 8
> >> >
> >> > 2014-12-10 18:37 GMT+01:00 Schlachter, Gary <
> Gary.Schlachter@sensus.com
> >> >:
> >> > > I have spent time searching and could not find a definitely answer
> >> > > on
> >> > whether or not Struts 2.3 support Java 8.  In what version of Struts
> >> > is Java 8 supported?
> >> >
> >> > What you mean by "supported"?
> >> >
> >> > There are few issues that directly target JDK8 but S2 should work on
> >> > Java8 without problems
> >> >
> >> > https://issues.apache.org/jira/browse/WW-4402
> >> > https://issues.apache.org/jira/browse/WW-4403
> >> >
> >> >
> >> > Regards
> >> > --
> >> > Łukasz
> >> > + 48 606 323 122 http://www.lenart.org.pl/
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> > For additional commands, e-mail: user-help@struts.apache.org
> >> >
> >> >
> >>
> >>
> >> --
> >> e: davelnewton@gmail.com
> >> m: 908-380-8699
> >> s: davelnewton_skype
> >> t: @dave_newton <https://twitter.com/dave_newton>
> >> b: Bucky Bits <http://buckybits.blogspot.com/>
> >> g: davelnewton <https://github.com/davelnewton>
> >> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message