Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Building a WAR for Wildfly

Paul Yorde
Paul Yorde
10,497 Points

what suggested fix should I use for error in AppConfig.java - (video ref: Building a War file) - Deploying a spring app

Around the time I changed the Datasource in DataConfig or prepending classpath: to api.properties, a red squiggle error appeared under Arrays.asList(jsonMessageConverter));

Possible suggested fixes from Intellij are: Add type parameters replace with call to singleton add static import add method contract add @deprecated

1 Answer

Chris Ramacciotti
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Chris Ramacciotti
Treehouse Guest Teacher

Hi Paul! Please post all relevant code, using the code formatting found the Markdown Cheatsheet. At the very least, this would include the whole class in which you're seeing the error. A more comprehensive approach would be to get your project on Github, then link to the public repo here.

Paul Yorde
Paul Yorde
10,497 Points

Embarrassing. I even wrote an article about posting all relevant code. It's on my todo list.