[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building Jollyday



Am 07.01.20 um 20:20 schrieb Mechtilde Stehmann:
> Hello,
> 
> does nobody have an idea to solve it?
> 
> Kind regards
> Mechtilde
> 
> Am 05.01.20 um 14:31 schrieb Mechtilde Stehmann:
>> Hello,
>>
>> I need help to build the package Jollyday which is a dependency for JVerein.
>>
>>
>> when building I get this error for several Moduls:
>>
>> build/jollyday-0.5.10/src/main/java/de/jollyday/config/org/example/holiday/ChristianHoliday.java:11:
>> error: package javax.xml.bind.annotation does not exist
>> import javax.xml.bind.annotation.XmlAccessType;

The error message indicates that javax.xml.bind.annotation is not on the
Classpath.


>>
>> I get this for
>> XmlAccessType
>> XmlAccessorTyp
>> XmlAttribute
>> XmlElement
>> XmlSeeAlso
>> XmlType
>>
>> I looked deeper for javax.xml.bind.annotation into libjaxb-api-java
>>
>> There I found
>>
>> /usr/share/maven-repo/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar
>>
>> And in it I found javax/xml/bind/annotation with the classes.
>>
>> For me it is a kind of double packaging.
>>
>> Do i have to unpack the jar file in debian/rules?

No.

>>
>> What is the proper way to handle it?

The missing class is indeed part of jaxb-api. You need a
build-dependency on libjaxb-api-java and the build system should point
to it too.


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: