...
Because the JenaModelHelper looks in the "createPropertyDefinitionToSetMethods" method for the set Method of this Feature like this:
Hi Jan-Patrick,
before I dig into this problem, any chance you want to work with Lyo 4.0.0-SNAPSHOT instead? Both for LyoDesigner, and the Lyo SDK.
The biggest difference to consider first though is the fact that Lyo 4.0.0-SNAPSHOT uses JAX-RS2.0 (hence you need to adopt an implementation such as Jersey), while 2.4.0 still uses JAX-RS1.0 (and specifically WINK).
regards
______________________________
Jad El-khoury, PhD
KTH Royal Institute of Technology
School of Industrial Engineering and Management, Mechatronics Division
Brinellvägen 83, SE-100 44 Stockholm, Sweden
Phone: +46(0)8 790 6877 Mobile: +46(0)70 773 93 45
jad@xxxxxx, https://www.kth.se/profile/jad
-----Original Message-----
From: lyo-dev-bounces@xxxxxxxxxxx <lyo-dev-bounces@xxxxxxxxxxx> On Behalf Of Jan-Patrick Osterloh
Sent: Friday, 17 May 2019 13:50
To: lyo-dev@xxxxxxxxxxx
Subject: [lyo-dev] Version clash? OslcCoreMissingSetMethodException
Dear all,
I recently switched to LYO designer 2.4.0. When I access the generated webapp with my client, I get some OslcCoreMissingSetMethodExceptions
(which are somehow hidden and not printed in stacktrace....). I guess that my client does not "understand" the new get Methods. I already found https://github.com/eclipse/lyo.designer/issues/61
To what "client" version do I need to switch? My current maven setup is:
<dependency>
<groupId>org.eclipse.lyo.oslc4j.core</groupId>
<artifactId>oslc4j-jena-provider</artifactId>
<version>${lyo.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.lyo.oslc4j.core</groupId>
<artifactId>oslc4j-json4j-provider</artifactId>
<version>${lyo.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.lyo.oslc4j.core</groupId>
<artifactId>oslc4j-wink</artifactId>
<version>${lyo.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
(with lyo.version set to 2.4.0, and I also tested 2.2.0).
Both are from the Eclipse Releases repository (https://repo.eclipse.org/content/groups/releases/).
Best regards
Jan-Patrick
--
Dipl. Inform. Jan-Patrick Osterloh
Senior Research Engineer
Human Centered Design Group
OFFIS e.V. - Institut für Informatik | Institute for Information Technology
FuE Bereich Verkehr | R&D Division Transportation
Escherweg 2, 26121 Oldenburg - Germany
Room: D107
Phone/Fax: +49 441 97 22-524 / -502
E-Mail: osterloh@xxxxxxxx
URL: http://www.offis.de
Registergericht: Amtsgericht Oldenburg VR 1956
Vorstand: Prof. Dr.-Ing. Wolfgang H. Nebel (Vorsitzender),
Prof. Dr. techn. Susanne Boll-Westermann,
Prof. Dr.-Ing. Axel Hahn,
Prof. Dr.-Ing. Andreas Hein,
Prof. Dr. Sebastian Lehnhoff
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/lyo-dev
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/lyo-dev