init terminating in do_boot,{undef,[{main,start,[],[]}
2014-07-06 11:27
330 查看
启动erlang新工程时出现此错误,错误提示的大意是:模块init在do_boot中终止,原因是模块main的start函数没有定义。
而在eclipse中查看文件树,main的start是存在的,但到工作目录下找,就看不到main.erl!寻思是导入工程时只是引用了外部模块,而没有修改启动命令的相应路径,导致不能定位main模块。将引用的模块直接导入到工程目录,问题解决 o(∩_∩)o
而在eclipse中查看文件树,main的start是存在的,但到工作目录下找,就看不到main.erl!寻思是导入工程时只是引用了外部模块,而没有修改启动命令的相应路径,导致不能定位main模块。将引用的模块直接导入到工程目录,问题解决 o(∩_∩)o
相关文章推荐
- “init terminating in do_boot” Windows10 Rabbit MQ fails to start
- 【转帖】“init terminating in do_boot” Windows Rabbit MQ fails to start
- “init terminating in do_boot” Windows10 Rabbit MQ fails to start
- Rabbitmq init terminating in do boot 问题
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- exception in initAndListen: 29 Data directory /data/db not found., terminating
- spring boot 报错:Exception in thread "main" java.lang.NoSuchMethodError 根源在pom.xml引用的包中的JAR有冲突
- mongodb exception in initAndListen: 12596 old lock file, terminating解决方法
- 从swift-init main start 开始看swift代码-by 黑鹰
- linux源码分析-/init/main.c/start_kernel
- start_kernel——boot_init_stack_canary
- start_kernel---boot_init_stack_canary<四>
- How do I configure vncserver to start GNOME or KDE by default in Red Hat Enterprise Linux ?
- mongodb exception in initAndListen: 12596 old lock file, terminating 解决方法
- start_kernel——boot_cpu_init及PER_CPU
- exception in initAndList en: 28663 Cannot start server.
- Exception in thread "main" expected '<document start>', but found BlockMappingStart in 'reader', line 23, column 2: nimbus.host: "master"
- Cannot re-start windows xp when switch 3GB in boot.ini
- Java异常:Exception in thread "main" java.lang.ArithmeticException: Non-terminating decimal expansion;
- per_cpu_pageset 之一(init/main.c start_kernel初始化)