无法解析JSONObject [英] JSONObject cannot be resolved
问题描述
您好,
我创建的index.jsp文件包含以下代码
I have created index.jsp file with code below
JSONObject json = new JSONObject();
JSONObject json = new JSONObject();
在Azure App服务中使用ftp部署index.jsp,配置为Stack:Java,Java版本:8,Jave次要版本:1.8,
deployed index.jsp using ftp in Azure App services with configuration as Stack : Java , Java Version : 8, Jave minor version : 1.8,
Java容器:tomcat 8.5.37
Java Container : tomcat 8.5.37
当我浏览并尝试测试我的jsp文件时,它给了我错误
When I browse and try to test my jsp file it gives me error
https://xxxxxxx.azurewebsites .net / index.jsp
https://xxxxxxx.azurewebsites.net/index.jsp
错误:JSONObject无法解析类型
Error : JSONObject cannot be resolved of a type
请帮我解决这个问题。
推荐答案
使用Kudu控制台,尝试进入依赖罐子。另外,查看Auzre webapps的Maven插件:
Using Kudu console, try to get to the dependency jars. Also, look into Maven plugin for Auzre webapps:
它可以帮助你简化你的部署
It can help in simplfying your deployment
干杯
K
这篇关于无法解析JSONObject的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!