Tnx Dan,
I try to migrate and I getting this error when doing a maven clean install:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
project socrates_app-webapp: Compilation failure: Compilation failure:
[ERROR]
/Users/johan/src/socrates/socrates_app/webapp/src/main/java/nl/socrates/app/webapp/prototyping/DeveloperUtilities.java:[23,56]
package org.apache.isis.core.metamodel.services.devutils does not exist
What is the way to solve this?
greetz, Johan
The app needs to run against Isis 1.7.0.
Unfortunately (in implementing @ViewModel) I broke backward compatibility
in DomainObjectContainer:
java.lang.NoSuchMethodError: org.apache.isis.applib.DomainObjectContainer.
newViewModelInstance(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
See the migration notes [2]; should be straightforward.
HTH
Dan
[2] http://isis.apache.org/core/release-notes/migrating-to-1.7.0.html
On 22 October 2014 11:01, wrote:
> Oops...
>
> now I get the following when using for instance 'me' or 'all users' or any
> service:
>
>
>
>
>
> org.apache.wicket.WicketRuntimeException
>
> Error attaching this container for rendering:
> [WebMarkupContainer [Component id = body]]
>
>
> org.apache.wicket.MarkupContainer#onBeforeRenderChildren(MarkupContainer.java:1696)
>
>
> org.apache.wicket.Component#onBeforeRender(Component.java:3863)
>
>
> org.apache.wicket.Component#internalBeforeRender(Component.java:935)
>
>
> org.apache.wicket.Component#beforeRender(Component.java:1003)
>
>
> org.apache.wicket.MarkupContainer#onBeforeRenderChildren(MarkupContainer.java:1684)
>
>
>
>
>
>
>
> org.apache.isis.core.metamodel.exceptions.MetaModelException
>
> java.lang.NoSuchMethodError:
> org.apache.isis.applib.DomainObjectContainer.newViewModelInstance(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
>
>
> org.apache.isis.core.commons.lang.ThrowableExtensions#throwWithinIsisException(ThrowableExtensions.java:60)
>
>
> org.apache.isis.core.metamodel.facets.actions.interaction.ActionInvocationFacetForInteractionAbstract#internalInvoke(ActionInvocationFacetForInteractionAbstract.java:376)
>
>
>
> etc
>
>
>
> Did I overlook something else?
>
>
>
>
> Compiled against Java 7; you are presumably using JDK6.
>
> Cheers
> Dan
>
> [1]
>
> http://stackoverflow.com/questions/10382929/unsupported-major-minor-version-51-0
>
>
> On 22 October 2014 10:12, wrote:
>
> > Hi,
> >
> >
> >
> > I am trying to incorpate the security add-on following Dan's video.
> >
> > I get this ERROR:
> >
> >
> > [EnvironmentLoader main ERROR] Shiro environment
> > initialization failed
> >
> > java.lang.UnsupportedClassVersionError:
> > org/isisaddons/module/security/shiro/IsisModuleSecurityRealm :
> Unsupported
> > major.minor version 51.0
> >
> >
> >
> > What could be the problem?
> >
> >
> >
> > Greetz (from China), Johan
> >
> >
>
>
>
>
�