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