我正在努力学习Aura。我正在尝试创建一个新组件(“hello.cmp”),但是当我尝试在服务器上运行它时,我总是会收到屏幕截图中显示的错误。我已检查服务器是否已启动并正在运行。
当我使用这个 URL“ http://localhost:8080/helloWorld/helloWorld.app ”它工作正常:
但是,当我尝试对新创建的组件“hello.cmp”进行相同操作时,它不起作用,我收到错误消息:
org.auraframework.throwable.AuraUnhandledException:无法处理您的请求
org.auraframework.throwable.quickfix.DefinitionNotFoundException: 没有名为 markup://helloWorld:hello 的组件
at org.auraframework.impl.DefinitionServiceImpl.getHelper(DefinitionServiceImpl.java:1427)
at org.auraframework.impl.DefinitionServiceImpl.compileDef(DefinitionServiceImpl.java:1551)
at org.auraframework.impl.DefinitionServiceImpl.compileDE(DefinitionServiceImpl.java:976)
at org.auraframework.impl.DefinitionServiceImpl.getUid(DefinitionServiceImpl.java:718)
at org.auraframework.impl.DefinitionServiceImpl.updateLoaded(DefinitionServiceImpl.java:588)
at org.auraframework.http.AuraServlet.internalGet(AuraServlet.java:306)
at org.auraframework.http.AuraServlet.doGet(AuraServlet.java:278)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)
at org.auraframework.http.AuraTestFilter.innerFilter(AuraTestFilter.java:314)
at org.auraframework.http.AuraTestFilter.doFilter(AuraTestFilter.java:186)
我已经多次重新启动服务器,但问题仍然存在。
请建议如何进行。