エラー内容
|
julia> Genie.loadapp()
WARNING: replacing module MyApp.
ERROR: LoadError: LoadError: invalid redefinition of constant UserApp
Stacktrace:
[1] top-level scope at none:0
[2] eval at .\boot.jl:328 [inlined]
[3] eval at .\sysimg.jl:68 [inlined]
[4] main() at C:\MyApp\src\MyApp.jl:6
[5] top-level scope at none:0
[6] include at .\boot.jl:326 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1038
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] include(::String) at .\client.jl:403
[10] main() at C:\MyApp\bootstrap.jl:6
[11] top-level scope at none:0
[12] include at .\boot.jl:326 [inlined]
[13] include_relative(::Module, ::String) at .\loading.jl:1038
[14] include(::Module, ::String) at .\sysimg.jl:29
[15] include(::String) at .\client.jl:403
[16] top-level scope at none:0
[17] eval(::Module, ::Any) at .\boot.jl:328
[18] #loadapp#8(::Bool, ::Function, ::String) at C:\Users\tarou\.juliapro\JuliaPro_v1.1.1.1\packages\Genie\wj9rG\src\REPL.jl:101
[19] #loadapp at .\none:0 [inlined]
[20] #loadapp#7 at C:\Users\tarou\.juliapro\JuliaPro_v1.1.1.1\packages\Genie\wj9rG\src\Genie.jl:81 [inlined]
[21] loadapp at C:\Users\tarou\.juliapro\JuliaPro_v1.1.1.1\packages\Genie\wj9rG\src\Genie.jl:81 [inlined] (repeats 2 times)
[22] top-level scope at none:0
in expression starting at C:\MyApp\src\MyApp.jl:14
in expression starting at C:\MyApp\bootstrap.jl:9
|
発生条件/原因/対処法
アプリケーションをロードした際に発生するエラー。
以前にもアプリケーションをロードした場合に発生する。
要するに二重にロードすると発生するエラー。