Bläddra i källkod

Can't figure out error message

Lauren Green 6 år sedan
förälder
incheckning
7d99eab008
3 ändrade filer med 11 tillägg och 14 borttagningar
  1. 10
    13
      .idea/workspace.xml
  2. 1
    1
      src/main/java/AccountApp.java
  3. Binär
      target/classes/AccountApp.class

+ 10
- 13
.idea/workspace.xml Visa fil

@@ -2,10 +2,7 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="24656c49-611f-4613-8dfe-095c8d9c4000" name="Default Changelist" comment="">
5
-      <change afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
-      <change afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
7
-      <change afterPath="$PROJECT_DIR$/src/main/java/Account.java" afterDir="false" />
8
-      <change afterPath="$PROJECT_DIR$/src/main/java/AccountApp.java" afterDir="false" />
5
+      <change beforePath="$PROJECT_DIR$/src/main/java/AccountApp.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/AccountApp.java" afterDir="false" />
9 6
     </list>
10 7
     <ignored path="$PROJECT_DIR$/out/" />
11 8
     <ignored path="$PROJECT_DIR$/target/" />
@@ -39,13 +36,13 @@
39 36
       </usages-collector>
40 37
       <usages-collector id="statistics.file.extensions.edit">
41 38
         <counts>
42
-          <entry key="java" value="25" />
39
+          <entry key="java" value="68" />
43 40
           <entry key="xml" value="8" />
44 41
         </counts>
45 42
       </usages-collector>
46 43
       <usages-collector id="statistics.file.types.edit">
47 44
         <counts>
48
-          <entry key="JAVA" value="25" />
45
+          <entry key="JAVA" value="68" />
49 46
           <entry key="XML" value="8" />
50 47
         </counts>
51 48
       </usages-collector>
@@ -91,8 +88,8 @@
91 88
       <file pinned="false" current-in-tab="true">
92 89
         <entry file="file://$PROJECT_DIR$/src/main/java/AccountApp.java">
93 90
           <provider selected="true" editor-type-id="text-editor">
94
-            <state relative-caret-position="120">
95
-              <caret line="8" column="101" selection-start-line="8" selection-start-column="101" selection-end-line="8" selection-end-column="101" />
91
+            <state relative-caret-position="135">
92
+              <caret line="9" lean-forward="true" selection-start-line="9" selection-end-line="9" />
96 93
               <folding>
97 94
                 <element signature="imports" expanded="true" />
98 95
               </folding>
@@ -183,7 +180,7 @@
183 180
   <component name="PropertiesComponent">
184 181
     <property name="WebServerToolWindowFactoryState" value="false" />
185 182
     <property name="aspect.path.notification.shown" value="true" />
186
-    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542233223033" />
183
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542234933200" />
187 184
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
188 185
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
189 186
     <property name="project.structure.last.edited" value="Modules" />
@@ -226,12 +223,12 @@
226 223
       <option name="number" value="Default" />
227 224
       <option name="presentableId" value="Default" />
228 225
       <updated>1542232515260</updated>
229
-      <workItem from="1542232517079" duration="696000" />
226
+      <workItem from="1542232517079" duration="2223000" />
230 227
     </task>
231 228
     <servers />
232 229
   </component>
233 230
   <component name="TimeTrackingManager">
234
-    <option name="totallyTimeSpent" value="696000" />
231
+    <option name="totallyTimeSpent" value="2223000" />
235 232
   </component>
236 233
   <component name="ToolWindowManager">
237 234
     <frame x="36" y="23" width="1621" height="958" extended-state="0" />
@@ -314,8 +311,8 @@
314 311
     </entry>
315 312
     <entry file="file://$PROJECT_DIR$/src/main/java/AccountApp.java">
316 313
       <provider selected="true" editor-type-id="text-editor">
317
-        <state relative-caret-position="120">
318
-          <caret line="8" column="101" selection-start-line="8" selection-start-column="101" selection-end-line="8" selection-end-column="101" />
314
+        <state relative-caret-position="135">
315
+          <caret line="9" lean-forward="true" selection-start-line="9" selection-end-line="9" />
319 316
           <folding>
320 317
             <element signature="imports" expanded="true" />
321 318
           </folding>

+ 1
- 1
src/main/java/AccountApp.java Visa fil

@@ -19,7 +19,7 @@ public class AccountApp {
19 19
         ConnectionSource connectionSource = null;
20 20
         try {
21 21
             // create our data-source for the database
22
-            connectionSource = new JdbcConnectionSource(DATABASE_URL, YOURUSERNAME, YOURPASSWORD);
22
+            connectionSource = new JdbcConnectionSource(DATABASE_URL, "root", "Lob1221q");
23 23
             // setup our  DAOs
24 24
             setupDao(connectionSource);
25 25
             // read, write and delete some data

Binär
target/classes/AccountApp.class Visa fil