Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行失败 #12

Open
9Wr opened this issue Jul 3, 2022 · 1 comment
Open

运行失败 #12

9Wr opened this issue Jul 3, 2022 · 1 comment

Comments

@9Wr
Copy link

9Wr commented Jul 3, 2022

$ fan Hi.fanx
sys::Err: java.lang.NoClassDefFoundError: fan/vaseWindow/ToolkitPeer
at fan.sys.Err.make(Err.java:48)
at fan.std.Method.invoke(Method.java:430)
at fan.std.Method$MethodFunc.callList(Method.java:386)
at fan.std.Method.callList(Method.java:144)
at fan.std.ScriptCompiler.execute(ScriptCompiler.fan:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at fanx.util.Reflection.callMethodThrow(Reflection.java:155)
at fanx.tools.Fan.executeFile(Fan.java:109)
at fanx.tools.Fan.execute(Fan.java:48)
at fanx.tools.Fan.run(Fan.java:360)
at fanx.tools.Fan.main(Fan.java:398)
@HZA2005102370-L MINGW64 /d/Native/CrossPlatForm/logs
$ cat Hi.fanx
using vaseGui
class Hi
{
static fun main() {
root := Frame {
Button {
text = "Press Me"
onClick {
Toast("Hello World").show(it)
}
},
}
root.show
}
}
这个是什么原因?

@chunquedong
Copy link
Member

我用fanx-4.2.0的版本,并没有复现你的错误。你那边有没有进行过什么特殊操作?例如从源码构建,或者配置什么环境变量。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants