Guest User

Untitled

a guest
Jun 25th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. Compiling 1 source file to C:\Users\Administrator\Desktop\mapleserver2\trunk\Bin\build\build\classes
  2. C:\Users\Administrator\Desktop\mapleserver2\trunk\Bin\src\server\CashItemFactory.java:38: error: diamond operator is not supported in -source 1.6
  3. private Map<Integer, CashItemInfo> itemStats = new HashMap<>();
  4. (use -source 7 or higher to enable diamond operator)
  5. C:\Users\Administrator\Desktop\mapleserver2\trunk\Bin\src\server\CashItemFactory.java:42: error: try-with-resources is not supported in -source 1.6
  6. try (PreparedStatement ps = DatabaseConnection.getConnection().prepareStatement("SELECT serial_number, itemid, quantity, price, expiration_days FROM cash_commodity_data");
  7. (use -source 7 or higher to enable try-with-resources)
  8. 2 errors
  9. C:\Users\Administrator\Desktop\mapleserver2\trunk\Bin\build\nbproject\build-impl.xml:619: The following error occurred while executing this line:
  10. C:\Users\Administrator\Desktop\mapleserver2\trunk\Bin\build\nbproject\build-impl.xml:242: Compile failed; see the compiler error output for details.
  11. BUILD FAILED (total time: 0 seconds)
Add Comment
Please, Sign In to add comment