本文介绍了在重新映射到性能IKVM复杂的自定义类型的错误!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用上面写下了这样的:

I used the above and wrote this:

<class name="umple.pts.domain.coreEntities.Stop">
    <property name="StopName" sig="()Ljava.lang.String;">
        <getter name="getName" sig="()Ljava.lang.String;" />
        <setter name="setName" sig="(Ljava.lang.String;)Z" />
    </property>
    <property name="StopId" sig="()I">
        <getter name="getStopId" sig="()I" />
        <setter name="setStopId" sig="(I)V" />
    </property>
</class>
<class name="umple.pts.domain.coreEntities.Line">
    <property name="LineName" sig="()Ljava.lang.String;">
        <getter name="getName" sig="()Ljava.lang.String;" />
        <setter name="setName" sig="(Ljava.lang.String;)V" />
    </property>
    <property name="LineId" sig="()I">
        <getter name="getLineId" sig="()I" />
        <setter name="setLineId" sig="(I)V" />
    </property>
    <property name="FirstEndStop" sig="()umple.pts.domain.coreEntities.Stop;">
        <getter name="getFirstEndStop" sig="()umple.pts.domain.coreEntities.Stop;" />
        <setter name="setFirstEndStop" sig="(umple.pts.domain.coreEntities.Stop;)Z" 

/>                            

/>            

/>                                                    

/>

/>

我得到一个错误,而生成的dll文件:

I get an error while generating the dll file:

D:\ PTS \ PTS_SVN \库\ IKVM-0.44.0.5 \ BIN> ikvmc -remap:map.xml -target:库PTSDomain.jar注IKVMC0002:输出文件PTSDomain.dll错误:无效的属性签名()umple.pts.domain.coreEntities.Stop;对物物业umple.pts.domain.coreEntities.Line.FirstEndStop AP文件错误:无效的属性getter签名'()umple.pts.domain.coreEntities.Stop; 在财产umple.pts.domain.coreEntities.Line.FirstEndStop重映射文件错误:无效的属性二传手签名(umple.pts.domain.coreEntities.Stop;)z在财产umple.pts.domain.coreEntities.Line.FirstEndStop重映射文件错误:无效的属性签名()umple.pts.domain.coreEntities.Stop;对物物业umple.pts.domain.coreEntities.Line.SecondEndStop AP文件错误:无效的属性getter签名'()umple.pts.domain.coreEntities.Stop; 在财产umple.pts.domain.coreEntities.Line.SecondEndStop重映射文件错误:无效的属性二传手签名(umple.pts.domain.coreEntities.Stop;)z在财产umple.pts.domain.coreEntities.Line.SecondEndStop重映射文件错误:无效的属性的签名'()[umple.pts.domain.coreEntities.Stop;'在重物业umple.pts.domain.coreEntities.Line.Stops地图文件错误:无效的属性getter签名'()[umple.pts.domain.coreEntities.Stop;在重映射文件属性umple.pts.domain.coreEntities.Line.Stops错误:无效的属性二传手签名([umple.pts.domain.coreEntities.Stop;)Z'为物业umple.pts.domain.coreEntities.Line.Stops重映射文件

D:\PTS\PTS_SVN\Libraries\ikvm-0.44.0.5\bin>ikvmc -remap:map.xml -target:libraryPTSDomain.jarNote IKVMC0002: output file is "PTSDomain.dll"Error: Invalid property signature '()umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.FirstEndStopError: Invalid property getter signature '()umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.FirstEndStopError: Invalid property setter signature '(umple.pts.domain.coreEntities.Stop;)Z' in remap file for property umple.pts.domain.coreEntities.Line.FirstEndStopError: Invalid property signature '()umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.SecondEndStopError: Invalid property getter signature '()umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.SecondEndStopError: Invalid property setter signature '(umple.pts.domain.coreEntities.Stop;)Z' in remap file for property umple.pts.domain.coreEntities.Line.SecondEndStopError: Invalid property signature '()[umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.StopsError: Invalid property getter signature '()[umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.StopsError: Invalid property setter signature '([umple.pts.domain.coreEntities.Stop;)Z' in remap file for property umple.pts.domain.coreEntities.Line.Stops

D:\ PTS \ PTS_SVN \库\ IKVM-0.44.0.5 \ BIN>

D:\PTS\PTS_SVN\Libraries\ikvm-0.44.0.5\bin>

我可以使用自定义属性或将我必须做的,它通过一些其他的方式?

Can i use the custom properties or will i have to do that via some other way??

推荐答案

您错过了L的umple.pts.domain.coreEntities.Line.Stops面前;

You're missing the L in front of umple.pts.domain.coreEntities.Line.Stops;

这篇关于在重新映射到性能IKVM复杂的自定义类型的错误!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-09 23:25