我创建了一个从 Web 服务中提取 json 数据的作业。它可以在我的 PC 上运行,但当我将其导出到我的开发人员时却不行。服务器(Ubuntu 服务器 x64)。请帮助我。
错误
“原因:sun.org.mozilla.javascript.EvaluatorException:编译脚本时遇到代码生成错误:为方法生成的字节码超过 64K 限制。(#1)”
JSON格式
"[{ "firstName": "John", "lastName": "Smith", "age": 25, "address": { "streetAddress": "21 2nd Street", "city": "New York", " state": "NY", "postalCode": xxxxx }, "phoneNumber": [ { "type": "home", "number": "xxx xxx-xxxx" }, { "type": "fax", " number": "xxx xxx-xxxx" } ] }, { "firstName": "John", "lastName": "david", "age": 28, "address": { "streetAddress": "23 2nd Street" , "city": "New York", "state": "NY", "postalCode": xxxxx }, "phoneNumber": [ { "type": "home", "number": "xxx xxx-xxxx" }, { "type": "fax", "number": "xxx xxx-xxxx" } ] }, { "firstName": "Jondy", "lastName": "rodes", "age": 25, "address": { "streetAddress": "21 2nd Street", "city": "Kenucky", "state": "KY", "postalCode": xxxxx }, "phoneNumber": [ { "type": "home",“号码”:“xxx xxx-xxxx”},{“类型”:“传真”,“号码”:“xxx xxx-xxxx”}]}]”