{"action":"created","issue":{"url":"https://api.github.com/repos/michael-simons/biking2/issues/2","labels_url":"https://api.github.com/repos/michael-simons/biking2/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/michael-simons/biking2/issues/2/comments","events_url":"https://api.github.com/repos/michael-simons/biking2/issues/2/events","html_url":"https://github.com/michael-simons/biking2/issues/2","id":124023633,"number":2,"title":"Compile error in WebConfig","user":{"login":"mikezang","id":1030268,"avatar_url":"https://avatars.githubusercontent.com/u/1030268?v=3","gravatar_id":"","url":"https://api.github.com/users/mikezang","html_url":"https://github.com/mikezang","followers_url":"https://api.github.com/users/mikezang/followers","following_url":"https://api.github.com/users/mikezang/following{/other_user}","gists_url":"https://api.github.com/users/mikezang/gists{/gist_id}","starred_url":"https://api.github.com/users/mikezang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikezang/subscriptions","organizations_url":"https://api.github.com/users/mikezang/orgs","repos_url":"https://api.github.com/users/mikezang/repos","events_url":"https://api.github.com/users/mikezang/events{/privacy}","received_events_url":"https://api.github.com/users/mikezang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-28T06:16:22Z","updated_at":"2015-12-29T01:57:58Z","closed_at":null,"body":"When I compile it I got as error as below:\r\nMultiple markers at this line\r\n\t- ConfigurableEmbeddedServletContainerFactory cannot be resolved to a type\r\n\t- This lambda expression refers to the missing type \r\n\t ConfigurableEmbeddedServletContainerFactory\r\n\t- Line breakpoint:WebConfig [line: 169] - \r\n\t embeddedServletContainerCustomizer(String, int)\r\n\r\n    @Bean\r\n    @Conditional(NeedsCustomizedConnectorCondition.class)\r\n    public EmbeddedServletContainerCustomizer embeddedServletContainerCustomizer(\r\n\t    final @Value(\"${biking2.connector.proxyName}\") String proxyName,\r\n\t    final @Value(\"${biking2.connector.proxyPort:80}\") int proxyPort\r\n    ) {\r\n\treturn (ConfigurableEmbeddedServletContainerFactory factory) -> {\r\n\t    if (factory instanceof TomcatEmbeddedServletContainerFactory) {\r\n\t\tfinal TomcatEmbeddedServletContainerFactory containerFactory = (TomcatEmbeddedServletContainerFactory) factory;\r\n\t\tcontainerFactory.addConnectorCustomizers(connector -> {\r\n\t\t    connector.setProxyName(proxyName);\r\n\t\t    connector.setProxyPort(proxyPort);\r\n\t\t});\r\n\t    }\r\n\t};\r\n    }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/michael-simons/biking2/issues/comments/167697941","html_url":"https://github.com/michael-simons/biking2/issues/2#issuecomment-167697941","issue_url":"https://api.github.com/repos/michael-simons/biking2/issues/2","id":167697941,"user":{"login":"mikezang","id":1030268,"avatar_url":"https://avatars.githubusercontent.com/u/1030268?v=3","gravatar_id":"","url":"https://api.github.com/users/mikezang","html_url":"https://github.com/mikezang","followers_url":"https://api.github.com/users/mikezang/followers","following_url":"https://api.github.com/users/mikezang/following{/other_user}","gists_url":"https://api.github.com/users/mikezang/gists{/gist_id}","starred_url":"https://api.github.com/users/mikezang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikezang/subscriptions","organizations_url":"https://api.github.com/users/mikezang/orgs","repos_url":"https://api.github.com/users/mikezang/repos","events_url":"https://api.github.com/users/mikezang/events{/privacy}","received_events_url":"https://api.github.com/users/mikezang/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T01:57:58Z","updated_at":"2015-12-29T01:57:58Z","body":"Thanks for your advice, I will follow them.\n\nIn fact, I found your article because I want to connect to Internet after proxy server!\nI checked your source but I am not sure about that usage, does your project can be run only I configed proxyHost and proxyPort?\nTell me more information if you don't mind...\n\n\nOn 2015/12/29, at 2:04, Michael Simons <notifications@github.com> wrote:\n\n> I've just double checked. It compiles flawless using Maven 3.3.3 as well as Maven 3.2.5 and i guess some older versions as well.\n> \n> I'm developing with NetBeans (8.1) and i only can recommend it. But anyway, should run in Eclipse or the STS Suite as well.\n> \n> To get everything straight, i've replaced the JRebel plugin with Spring Boot Devtools, their free and often enough.\n> \n> Regarding the port: Read the official docs, for example here are all properties that can be configured: https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html Your searching for \"server.port\"\n> \n> I don't know your IDE but the only thing you've gotta do is to stop / kill the Java Process started by the IDE, than the port is free.\n> \n> �\n> Reply to this email directly or view it on GitHub.\n> \n\n"}}