gpt4 book ai didi

ibm-mobilefirst - IBM MobileFirst 7.0 - 未捕获的 ReferenceErrors : WLJQ is not defined, WL 未定义

转载 作者:行者123 更新时间:2023-12-04 07:11:06 24 4
gpt4 key购买 nike

我正在使用安装在 Eclipse Luna 中的 IBM MobileFirst 7.0。
我在同一个项目中有 2 个应用程序:移动应用程序和控制台应用程序。

每当我运行控制台应用程序时,我都会收到以下错误消息:

Uncaught ReferenceError: WLJQ is not defined initOptions.js:47 Uncaught ReferenceError: WL is not defined



在运行 iPad 应用程序时,我得到:

File or directory not found and Server Error



日志:
App[3991:1914543] [DEBUG] [WL_AFHTTPCLIENTWRAPPER_PACKAGE] -[WLAFHTTPClientWrapper requestFailed:error:] in WLAFHTTPClientWrapper.m:324 :: Request Failed
App[3991:1914543] [DEBUG] [WL_AFHTTPCLIENTWRAPPER_PACKAGE] -[WLAFHTTPClientWrapper requestFailed:error:] in WLAFHTTPClientWrapper.m:325 :: Response Status Code : 404
App[3991:1914543] [DEBUG] [WL_AFHTTPCLIENTWRAPPER_PACKAGE] -[WLAFHTTPClientWrapper requestFailed:error:] in WLAFHTTPClientWrapper.m:326 :: Response Error : Expected status code in (200-299), got 404
App[3991:1914543] [ERROR] [WL_REQUEST] -[WLRequest requestFailed:error:] in WLRequest.m:466 :: Status code='404' error='Expected status code in (200-299), got 404' response='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>404 - File or directory not found.</title>
<style type="text/css">
<!--

body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->

</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>404 - File or directory not found.</h2>
<h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
</html>

如果我将我的项目重新导入到新的 Eclipse 工作区,此错误将停止出现,但在我退出 Eclipse 并重新打开它后,问题再次出现。

最佳答案

我来发现的一件事,希望在这里也能奏效,如下。

如果在更改网络或更改 IP 地址后发生这种情况,请尝试(无论如何都要尝试)右键单击应用程序文件夹并选择运行方式 > 预览。这将强制服务器上的 IP 更新,至少在这里 - 解决了这个问题。

关于ibm-mobilefirst - IBM MobileFirst 7.0 - 未捕获的 ReferenceErrors : WLJQ is not defined, WL 未定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29692311/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com