- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在尝试使用 FutureBuilder 从 Firestore 获取数据时遇到错误。如果用户登录并打印 (snapshot.data),我会从 firestore 中获取正确的快照:
flutter: FirebaseUser({displayName: null, providerId: Firebase, uid: UFubdB2xPCTUu8ESgQikOr9WOe52, phoneNumber: null, isEmailVerified: false, providerData: [{email: titi@momo.com, providerId: password, photoUrl: null, displayName: null, uid: titi@momo.com, phoneNumber: null}], email: titi@momo.com, photoUrl: null, lastSignInTimestamp: 1576367769805, isAnonymous: false, creationTimestamp: 1576367424402})
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following NoSuchMethodError was thrown building FutureBuilder<DocumentSnapshot>(dirty, state:
flutter: _FutureBuilderState<DocumentSnapshot>#5d856):
flutter: The method '[]' was called on null.
flutter: Receiver: null
flutter: Tried calling: []("email")
flutter:
flutter: The relevant error-causing widget was:
flutter: FutureBuilder<DocumentSnapshot> file:///Users/momo/Desktop/combine/lib/screens/feed.dart:23:13
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
flutter: #1 _FeedState.build.<anonymous closure> (package:combine/screens/feed.dart:26:30)
flutter: #2 _FutureBuilderState.build (package:flutter/src/widgets/async.dart)
flutter: #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4334:27)
flutter: #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4223:15)
flutter: #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #6 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #7 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #8 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #17 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #18 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #19 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #20 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #21 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #25 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #26 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #27 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:4617:11)
flutter: #28 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #29 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5551:32)
flutter: #30 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #31 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #32 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #33 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #34 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #35 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #36 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #37 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #41 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #42 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #43 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #47 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #48 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #49 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #50 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #52 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
flutter: #53 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #55 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #56 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #57 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #58 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #59 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #61 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
flutter: #62 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #65 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #66 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #67 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #68 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #69 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #70 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #72 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #73 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #74 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #75 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #76 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #77 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #78 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #79 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #80 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #81 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #82 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #83 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #84 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #85 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #86 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #87 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #88 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #89 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #90 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #91 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #92 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #93 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #94 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #95 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #96 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #97 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #98 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #99 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #100 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #101 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #102 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #103 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #104 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
flutter: #105 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #107 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
flutter: #108 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #109 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #110 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #111 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #112 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #113 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #114 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #115 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #116 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #117 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #118 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #119 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #120 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:4617:11)
flutter: #121 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #122 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #123 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #124 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #125 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #126 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
flutter: #127 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #128 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #129 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #130 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
flutter: #131 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
flutter: #132 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
flutter: #133 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
flutter: #134 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
flutter: #135 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
flutter: #136 SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:1288:36)
flutter: #137 SliverMultiBoxAdaptorElement.createChild.<anonymous closure> (package:flutter/src/widgets/sliver.dart:1273:20)
flutter: #138 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2412:19)
flutter: #139 SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:1266:11)
flutter: #140 RenderSliverMultiBoxAdaptor._createOrObtainChild.<anonymous closure> (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:354:23)
flutter: #141 RenderObject.invokeLayoutCallback.<anonymous closure> (package:flutter/src/rendering/object.dart:1823:58)
flutter: #142 PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:875:15)
flutter: #143 RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:1823:13)
flutter: #144 RenderSliverMultiBoxAdaptor._createOrObtainChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:343:5)
flutter: #145 RenderSliverMultiBoxAdaptor.insertAndLayoutChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:489:5)
flutter: #146 RenderSliverFixedExtentBoxAdaptor.performLayout (package:flutter/src/rendering/sliver_fixed_extent_list.dart:255:17)
flutter: #147 RenderObject.layout (package:flutter/src/rendering/object.dart:1724:7)
flutter: #148 RenderSliverEdgeInsetsPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:134:11)
flutter: #149 _RenderSliverFractionalPadding.performLayout (package:flutter/src/widgets/sliver.dart:1165:11)
flutter: #150 RenderObject.layout (package:flutter/src/rendering/object.dart:1724:7)
flutter: #151 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:410:13)
flutter: #152 RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1367:12)
flutter: #153 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1285:20)
flutter: #154 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1584:7)
flutter: #155 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:844:18)
flutter: #156 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:344:19)
flutter: #157 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:774:13)
flutter: #158 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:283:5)
flutter: #159 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1102:15)
flutter: #160 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1041:9)
flutter: #161 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:957:5)
flutter: #165 _invoke (dart:ui/hooks.dart:259:10)
flutter: #166 _drawFrame (dart:ui/hooks.dart:217:3)
flutter: (elided 3 frames from package dart:async)
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: NoSuchMethodError: The method '[]' was called on null.
flutter: titi@momo.com
flutter: null
flutter: null
flutter: Instance of 'DocumentSnapshot'
class MyApp extends StatelessWidget {
Widget _getScreenId() {
return StreamBuilder<FirebaseUser>(
stream: FirebaseAuth.instance.onAuthStateChanged,
builder: (BuildContext context, snapshot) {
if (snapshot.hasData) {
print(snapshot.data);
return Landing(userId: snapshot.data.uid);
} else {
return Login();
}
});
}
children: <Widget>[
Home(),
Feed(userId: widget.userId),
Profile(),
],
class Feed extends StatefulWidget {
final String userId;
Feed({this.userId});
@override
_FeedState createState() => _FeedState();
}
class _FeedState extends State<Feed> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
elevation: 1,
title: Text('feed screen'),
),
backgroundColor: Colors.white,
body: FutureBuilder(
future: usersRef.document(widget.userId).get(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
print(snapshot.data['email']);
return Padding(
padding: const EdgeInsets.only(top: 70, left: 20, right: 20),
child: Column(
children: <Widget>[
Text('MeandYou')
],
),
);
},
),
);
}
}
final usersRef = _firestore.collection('users');
User(
{this.id,
this.email,
this.password,
this.fullname,
this.username,
this.mobile,
this.profileImgUrl,
this.bio});
factory User.fromDoc(DocumentSnapshot doc) {
return User(
id: doc.documentID,
email: doc['email'],
fullname: doc['fullname'],
username: doc['username'],
mobile: doc['mobile'],
profileImgUrl: doc['profileImgUrl'],
bio: doc['bio'] ?? ''
);
}
最佳答案
future 并不总是准备好,它们是异步的。我会插入至少一个空检查,但这是一个更好的方法。最好查看ConnectionState
的Future
检查它是否准备好,然后检查数据是否为空。使用 ConnectionState
的另一个好处是检查它是否在等待某事的能力。然后,您可以显示加载图标或其他内容。
class _FeedState extends State<Feed> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
elevation: 1,
title: Text('feed screen'),
),
backgroundColor: Colors.white,
body: FutureBuilder(
future: usersRef.document(widget.userId).get(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
if (snapshot.connectionState == ConnectionState.done) {
if (snapshot.hasData) {
print(snapshot.data['email']);
return Padding(
padding: const EdgeInsets.only(top: 70, left: 20, right: 20),
child: Column(
children: <Widget>[
Text('MeandYou')
],
),
);
}
}
},
),
);
}
}
关于firebase - flutter - NoSuchMethodError : The method '[]' was called on null,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59363648/
我正在用来自JSON文件的一些数据填充Flutter中的列表。 但是,我的代码不断抛出异常"NoSuchMethodError (NoSuchMethodError: The method 'add'
通过eclipse运行Tomcat 7报错是: javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt
这是我的错误行: 这是我的代码: 最佳答案 final jobs= json.decode(response.body)['name_database_table']; 关于mobile - NoSu
很难说出这里问的是什么。这个问题是模棱两可的、模糊的、不完整的、过于宽泛的或修辞的,无法以目前的形式得到合理的回答。为了帮助澄清这个问题以便可以重新打开它,visit the help center
我已经被这个错误困扰了几个小时。。我的pom.xml。应用程序未启动。所有的Spring框架依赖于相同的版本,但仍然得到相同的错误。。更新。MVN依赖的结果:树。看起来这里一切都很好。
我得到: NoSuchMethodError: com.foo.SomeService.doSmth()Z 我是否正确理解这个'Z'意味着doSmth()方法的返回类型是 boolean 值?如果为
我在 Speed 类中引用 PlayerUtil.getMovementSpeed(player);,在我的 PlayerUtil 类中,我将方法定义为: public static double g
我得到: NoSuchMethodError: com.foo.SomeService.doSmth()Z 我是否正确理解这个 'Z' 意味着 doSmth() 方法的返回类型是 boolean 值?
我在使用 Spark 和 Scala 时遇到了一个奇怪的错误。我有一段代码声明了一个变量: var offset = 0 这会导致以下异常: java.lang.NoSuchMethodError:
我已经成功实现了 reflectionEquals 方法,其中包含一个排除字段列表。 return EqualsBuilder.reflectionEquals(this, obj, new Str
我正在使用 Spring 框架和 Maven 开发 Java Enterprise 应用程序。我正在为此学习一门类(class),并且一直坚持集成 Hibernate JPA。当我运行项目时,它返回以
I/flutter ( 8282): The following NoSuchMethodError was thrown building Meme(dirty, state: _MemeState
运行以下代码时出现 NoSuchMethodError - 我想从 JSON url 打印出轨道标题 - 我错过了什么吗? import 'dart:async'; import 'dart:conv
我正在做 Searchview flutter 中的例子 https://github.com/MageshPandian20/Flutter-SearchView 但我想对 进行更改子项类有一个 最
尝试从Eclipse中的简单Java程序连接到Hive时出现以下错误。看起来好像连接,然后引发此错误。我可以通过beeline在本地连接到Hive Thrift服务器,而不会出现问题。 两个libth
当我向安全资源发出请求时,会发生NoSuchMethodError。 基于基于Spring Boot 1.4.4的Grails 3.2.5的项目 AppConfig: @EnableWebSecuri
这个问题已经有答案了: Differences between Exception and Error (11 个回答) 已关闭 7 年前。 我的印象是 Exception 非常适合捕获所有可能的异常
祝大家有美好的一天!我使用 google Vision API,当我在 IntelliJ Idea 中运行我的程序时,它工作得很好,但是当我编译 jar 文件时,它在处理照片时给出错误 java.la
我一直在为这个问题苦苦挣扎。我正在开发一个包含很多包的 netbeans java 项目,起初我更改了 gui,但是当我运行代码时,它没有反射(reflect)任何更改,即使我在保存、清理、清理和编译
我一直在寻找问题的解决方案,但没有得到足够的答案。 我正在开发 Bukkit插件的更新系统。因此,我必须自己编写这些类的代码。但我一直想从 debug(String) 调用一个方法(具体来说: ano
我是一名优秀的程序员,十分优秀!