0
응용 프로그램이 erlang 쉘 -erl에서 제대로 실행될 수 있지만 오류가 발생했습니다 :오류가 발생했습니다 : 'undef, [{compile, forms, ... rebar3 릴리스로 생성 된 응용 프로그램을 시작할 때
{"Kernel pid terminated",application_controller,"
{application_start_failure,gateway,{bad_return,{{gateway_app,start,[normal,[]]},
{'EXIT',{undef,[{compile,forms, ...
_build/default/rel/xmxx/bin/xmxx에서 시작하는 경우.
rebar.config는 gateway.app.src가
{application, gateway, [
{description, "This is server gateway."},
{vsn, "0.0.1"},
{registered, [gateway_sup]},
{mod, {gateway_app, []}},
{applications, [kernel, crypto, stdlib, sasl]},
{env,[]},
{modules, [xmxx_run]},
{maintainers, []},
{licenses, []},
{links, []}
]}.
어떤 도움을 주시면 감사하겠습니다입니다
{erl_opts,
[debug_info,
{i, "include"},
{outdir, "./ebin"},
{src_dirs, ["src", "../../src"]}]}.
{deps, []}.
{relx, [{release, {xmxx, "0.0.1"}, [gateway, kernel, stdlib, sasl]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}]
}.
{profiles,
[{prod,
[{relx, [
{dev_mode, false},
{include_erts, true},
{include_src, false}]
}]
}]
}.
입니다!
답장을 보내 주셔서 감사합니다. 나는이 문제라고 생각하지만 rebar3을 통해 컴파일러 애플리케이션을 포함하는 방법을 모른다. –
고마워요 - 컴파일 할 때 잘못된 단어 컴파일러를 입력했습니다 - 이제는 작동합니다! 정말 대단히 감사합니다 !! –