m_context = JAXBContext.newInstance(new Class [] {clazz},properties)抛出非法注释异常

时间:2018-05-09 10:58:55

标签: java annotations jaxb

我有一个类IsoMessage -

public class IsoMessage
{
  private boolean binBitmap;

 public IsoMessage() {}

 public void setBinaryBitmap(boolean paramBoolean)
  {
    this.binBitmap = paramBoolean;
  }

  public boolean isBinaryBitmap()
  {
    return this.binBitmap;
  }
}

为什么在创建JAXBContext时会抛出非法的annotationexception?

0 个答案:

没有答案